how to append '-fPIC -fpic -msingle-pic-base' options to build libiberty.a?
chong huang
hch.minds@gmail.com
Tue Jul 14 15:17:00 GMT 2009
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?
More information about the Gcc-help
mailing list