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]

how to append '-fPIC -fpic -msingle-pic-base' options to build libiberty.a?


hello, everybody:

I'm taking the binutils-2.19.1, elf2flt-2006q1, gcc-4.3.3, uClib-0.9.29
to build the toolchain for arm arch machine, and got a problem, please
see below:

In order to build gcc with '-fPIC -fpic -msingle-pic-base' option, i
edit the gcc-4.3.3/gcc/config/arm/t-arm-softfp, by adding
'TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes -fPIC -fpic
-msingle-pic-base ' at the end of the file. But the make log file
indicates that the libgcc.a, libgcov.a, libstdc++.a, libsup++.a are all
compiled with the options, except for the libiberty.a

Does anybody know that how to add the options to build the libiberty.a?


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