Re: [solaris] library -lc: not found

2011-11-06 Thread Laurent Bercot
$ 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

Re: [solaris] library -lc: not found

2011-11-05 Thread Rob Landley
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