RE: static linking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx] 
Sent: Saturday, October 04, 2003 12:35 PM
To: Pekka Holopainen (KI/EAB)
Cc: 'gcc-help@xxxxxxxxxxx'
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@xxxxxxxxxxxx
> My old e-mail address will function untill 2004-05-01. Please change
address in your personal address book.
> 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux