public inbox for
 help / color / mirror / Atom feed
* Problem generating statically linked binaries...
@ 1999-03-25  4:01 Koundinya.K
  0 siblings, 0 replies; only message in thread
From: Koundinya.K @ 1999-03-25  4:01 UTC (permalink / raw)
  To: ian, gas2, bfd

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 


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-25  4:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-25  4:01 Problem generating statically linked binaries Koundinya.K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).