Building static libgcc with different flags than the shared one
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: <gcc-help@xxxxxxxxxxx>
- Subject: Building static libgcc with different flags than the shared one
- From: Sebastian Bauer <mail@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 01 Jul 2012 11:53:39 +0200
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- User-agent: Roundcube Webmail/0.5.2
Hi,
I'm trying to find out whether it is possible let the build process of
gcc building the libgcc.a library using different flags than the shared
libgcc. The build process seems to generate two flavors of each object,
e.g., _floatundidf.o and _floatundidf_s.o. I looked in the generated
Makefile that drives the libgcc build but found no obvious way how I can
specify different flags (this is on gcc 4.5.3 for ppc). The goal is to
build the objects of the shared object with -fPIC while the static ones
shouldn't be built using this flag. (I probably could use the multilib
stuff but I don't know how to disable/enable a particular flavor, i.e.,
don't build the shared without -fPIC). Any help is highly appreciated!
Bye
Sebastian
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]