$ make PROGRAMS=scp STATIC=1
gcc -L/usr/local/lib -R/usr/local/lib -static -o scp scp.o
progressmeter.o atomicio.o scpmisc.o compat.o
ld: fatal: library -lc: not found
As Matt said, you cannot make static programs on Solaris.
Solaris does not ship with a libc.a, only a libc.so.
This would
On 11/05/2011 12:01 PM, phocean wrote:
Now it fails like this :
$ make PROGRAMS=scp STATIC=1
gcc -L/usr/local/lib -R/usr/local/lib -static -o scp scp.o
progressmeter.o atomicio.o scpmisc.o compat.o
ld: fatal: library -lc: not found
ld: fatal: file processing errors. No output written to