Re: static version of libgcc_s.so.1...

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

 



"Venkatakrishnan, V" <v.venkatakrishnan@xxxxxxxxxxxxxxxxx> writes:

> Ian,
> 	I'm doing something like
> g++ myapp.C -L/path1 -L/path2 -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic
> -lmySharedLib -o myApp
> 	Isn't this what you've mentioned?
> 
> 	and this still has a dependency on libgcc_s.so.1 as well as
> libstdc++.so.4.

No, there is an option "-static-libgcc".  See the docs.

Ian

[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