[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

static linking, versions 4.0, 4.1

From: andrew
Subject: static linking, versions 4.0, 4.1
Date: Wed, 18 Dec 2002 07:55:51 +0000 (GMT)

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 


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:


cd lib

make LDFLAGS==-static ls

The error report is:

gcc  -g -O2  -static -o ls  ls.o ls-ls.o ../intl/libintl.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?


Andrew Bryant.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]