I am getting error compiling (using csc) a static hello world executable using the C compiler provided by the Solaris Studio suite. This is for version 4.9.0.1.
$ csc -verbose -static -o hello hello.scm
'/export/home/jopython/cscheme/bin/chicken' 'hello.scm' -output-file 'hello.c' -feature chicken-compile-static -verbose
'cc' 'hello.c' -o 'hello.o' -c -errtags -xdebugformat=stabs -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -g -xO3 -I"/export/home/jopython/cscheme/include/chicken"
rm hello.c
'cc' 'hello.o' -o 'hello' -L"/export/home/jopython/cscheme/lib" -Wl,-R"/export/home/jopython/cscheme/lib" -static '/export/home/jopython/cscheme/lib/libchicken.a' -lsocket -lnsl -lm -ldl -lrt
cc: No valid input files specified, no output generated
Error: shell command terminated with non-zero exit status 256: 'cc' 'hello.o' -o 'hello' -L"/export/home/jopython/cscheme/lib" -Wl,-R"/export/home/jopython/cscheme/lib" -static '/export/home/jopython/cscheme/lib/libchicken.a' -lsocket -lnsl -lm -ldl -lrt