This is the mail archive of the gcc-patches@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: [PATCH] Build libiberty with -fPIC on Linux/MIPS hosts


Aurelien Jarno wrote:
Starting with gcc 4.3, -mshared is the default on Linux/MIPS hosts. This
means that libraries should now be built with -fPIC, which implies
-mno-shared.

The patch below, switch libiberty to -fPIC on Linux/MIPS hosts. It is
needed for binutils when build with --enable-shared.

Okay.


Paolo


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