This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: static linking


This will cause the library to get linked in statically, but it will
also cause ALL libraries specified after it (including any default
system libraries, such as the C library) to get linked in statically.
If that's OK, then this should work fine.

Lyle

-----Original Message-----
From: Liguo Song [mailto:liguo.song@vanderbilt.edu] 
Sent: Saturday, October 04, 2003 12:35 PM
To: Pekka Holopainen (KI/EAB)
Cc: 'gcc-help@gcc.gnu.org'
Subject: Re: static linking

man gcc
/static

The above get me to the -static option. Have you tried this?


Liguo



On Mon, 29 Sep 2003, Pekka Holopainen (KI/EAB) wrote:

> Hi
> 
> I am using gcc 2.95.3 and I have problem to link libstdc++ staticly.
> 
> When I start program and this lib is missing it always ask for it.
> What cn i do to get a static link module?
> 
> Regards Pekka
> 
> I have a new mail address: Pekka.Holopainen@ericsson.com
> My old e-mail address will function untill 2004-05-01. Please change
address in your personal address book.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]