static linking, versions 4.0, 4.1
andrew <[email protected]>
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
I would like a statically-linked binary of ls, for anonymous ftp on an Intel/Linux system. To achieve this, I have tried to compile from fileutils-4.0 (the version used on my SuSE 6.3 installation), and from version 4.1 The compiler is egcs-2.91.66 The sources compile correctly using ./configure make Although this happens much faster than the INSTALL file suggests, the ls binary produced certainly works. However, when I use the following, which I'm told should produce a statically-linked binary of ls, it ends with an error: ./configure cd lib make cd../src make LDFLAGS==-static ls The error report is: gcc -g -O2 -static -o ls ls.o ls-ls.o ../intl/libintl.a ../lib/libfetish.a gcc: ../intl/libintl.a: No such file or directory make: *** [ls] Error 1 Since this happens with both version 4.0 and 4.1, I guess I'm at fault. Where can I look for help? Thanks, Andrew Bryant.