Jack Howarth <howa...@bromo.med.uc.edu> wrote:
> make -j 8 profiledbootstrap BOOT_CFLAGS="-g -O3"
>
> I noticed the absence of these flags being utilized in libdecnumber,
> libffi, libgcc, etc.

On a related note, how can I pass *linker* flags for linking libgcc?
I've passed --with-stage1-ldflags and --with-boot-ldflags to
./configure, and I've passed LDFLAGS_FOR_TARGET and BOOT_LDFLAGS to
make, but none of those seem to get used when building libgcc_s.so.1
(or libgcj_bs.so.1.0.0).

I even tried editing gcc/Makefile.in, in the rule for libgcc.mvars.  I
changed the SHLIB_LINK line to:
        echo SHLIB_LINK = '$(subst $(GCC_FOR_TARGET) 
...my-flags-here...,$$(GCC_FOR_TARGET),$(SHLIB_LINK))' >> tmp-libgcc.mvars
This change gets propagated into gcc/Makefile, but somehow when
libgcc.mvars is created, my flags don't appear there.


paul

Reply via email to