瀏覽代碼

mention the --static option of pkg-config

Samuel Thibault 13 年之前
父節點
當前提交
87d08c1e0e
共有 4 個文件被更改,包括 8 次插入0 次删除
  1. 2 0
      doc/chapters/basic-examples.texi
  2. 2 0
      doc/chapters/fft-support.texi
  3. 2 0
      doc/chapters/mpi-support.texi
  4. 2 0
      doc/chapters/using.texi

+ 2 - 0
doc/chapters/basic-examples.texi

@@ -40,6 +40,8 @@ LDFLAGS         +=      $$(pkg-config --libs libstarpu)
 @end example
 @end cartouche
 
+Also pass the @code{--static} option if the application is to be linked statically.
+
 @node Hello World
 @section Hello World
 

+ 2 - 0
doc/chapters/fft-support.texi

@@ -55,6 +55,8 @@ with the following commands:
 % pkg-config --libs libstarpufft    # options for the linker
 @end example
 
+Also pass the @code{--static} option if the application is to be linked statically.
+
 @subsection Initialisation
 
 @deftypefun {void *} starpufft_malloc (size_t @var{n})

+ 2 - 0
doc/chapters/mpi-support.texi

@@ -42,6 +42,8 @@ accessible with the following commands:
 % pkg-config --libs libstarpumpi    # options for the linker
 @end example
 
+Also pass the @code{--static} option if the application is to be linked statically.
+
 @subsection Initialisation
 
 @deftypefun int starpu_mpi_initialize (void)

+ 2 - 0
doc/chapters/using.texi

@@ -40,6 +40,8 @@ accessible with the following commands:
 % pkg-config --libs libstarpu    # options for the linker
 @end example
 
+Also pass the @code{--static} option if the application is to be linked statically.
+
 @node Running a basic StarPU application
 @section Running a basic StarPU application