root@cheers.uucp (Greg Onufer) (10/29/88)
As distributed, gcc will not allow you to use the system linker and create statically linked executables. Here is my solutions, the command line flag "-static". -greg onufer (Remember that config-sun4.h is for SunOS 4.0 and not Sun-4 machines) Patch file config-sun4.h as follows: *** /tmp/,RCSt1a12547 Fri Oct 28 13:27:12 1988 --- /tmp/,RCSt2a12547 Fri Oct 28 13:27:13 1988 *************** *** 9,12 **** /* Provide required defaults for linker -e and -d switches. */ ! #define LINK_SPEC "%{!e*:-e start} -dc -dp" --- 9,12 ---- /* Provide required defaults for linker -e and -d switches. */ ! #define LINK_SPEC "%{static:-Bstatic} %{!e*:-e start} -dc -dp" -- Greg Onufer .. University of the Pacific .. Focus Semiconductor .. exodus@cheers.uucp .. sun!daver!cheers!exodus .. 415-965-0604