diff --git a/README b/README index 3be80e29b..0db5ea0a9 100644 --- a/README +++ b/README @@ -417,14 +417,8 @@ return 0; } hwloc provides a pkg-config executable to obtain relevant compiler and linker -flags. For example, it can be used thusly to compile applications that utilize -the hwloc library (assuming GNU Make): - -CFLAGS += $(shell pkg-config --cflags hwloc) -LDLIBS += $(shell pkg-config --libs hwloc) - -hwloc-hello: hwloc-hello.c - $(CC) hwloc-hello.c $(CFLAGS) -o hwloc-hello $(LDLIBS) +flags. See Compiling software on top of hwloc's C API for details on building +program on top of hwloc's API using GNU Make or CMake. On a machine 2 processor packages -- each package of which has two processing cores -- the output from running hwloc-hello could be something like the diff --git a/doc/hwloc.doxy b/doc/hwloc.doxy index 6e5a8158f..931aca61b 100644 --- a/doc/hwloc.doxy +++ b/doc/hwloc.doxy @@ -28,6 +28,7 @@
  • Chapters