From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Koundinya.K" To: ian@cygnus.com, gas2@cygnus.com, bfd@cygnus.com Subject: Problem generating statically linked binaries... Date: Thu, 25 Mar 1999 04:01:00 -0000 Message-id: <199903251201.RAA06395@bombay.ddeorg.soft.net> X-SW-Source: 1999/msg00039.html Dear Ian and all, I have somehow managed to build the crt* files for my MIPS - R4400 based system running the SVR4.2 UNIX, in order to get the GNU linker working. I am still testing and once I come with something very concrete I will send them to you.. I need to work on those startups for profiling also. O.K In the process I noticed that I am not able to generate statically linked binaries. If I try something like gcc -v -static test.c -o test or gcc -v -Xlinker -Bstatic test.c - test and other combinations .... I get segmenation faults trying to run those binaries. I would like to know , whether the startup files should be modified for building statically linked ones.... I have compiled the startup files using the '-KPIC' option. Even I tried to use the startups that were not compiled with this option , but had no success. Thanks for any pointers to my problem With best regards Koundinya