author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-04-18 02:13:34 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-04-18 02:13:34 UTC |
parent | d75bbe8359656aebba7c5c2441b151c70c8802e8 |
doc/guide.rst | +1 | -3 |
diff --git a/doc/guide.rst b/doc/guide.rst index 16feac9..e65fd1e 100644 --- a/doc/guide.rst +++ b/doc/guide.rst @@ -263,12 +263,10 @@ The Single Unix Specification standard proposes a simple and practical way to get the flags you need to pass your C compiler to tell you want to compile your application with LFS: use a program called "getconf" which should be called like "getconf LFS_CFLAGS", and it outputs the appropiate parameters. -Sadly, not all platforms implement it, so it's also wise to pass -"-D_FILE_OFFSET_BITS=64" just in case. In the end, the command line would be something like:: - gcc `getconf LFS_CFLAGS` -D_FILE_OFFSET_BITS=64 app.c -ljio -o app + gcc `getconf LFS_CFLAGS` app.c -ljio -o app If you want more detailed information or examples, you can check out how the library and sample applications get built.