On Wed, Aug 08, 2007 at 10:06:03AM +0200, Paolo Bonzini wrote: > > >That is what I missed. Thanks. > > > >This patch should work. > > Sure, but it makes the mess even worse. You should instead: > > - in config/t-svr4, change the two CFLAGS assignments to use +=
There is CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC How do you use +=? > - in config/i386/t-sol2, change the CRTSTUFF_T_CFLAGS assignment to "+= > -O2" and remove the TARGET_LIBGCC2_CFLAGS assignment > - in config.gcc, change > > tmake_file="t-sol2 i386/t-sol2 t-svr4" > > to > > tmake_file="${tmake_file} t-sol2 i386/t-sol2 t-svr4" > > and move it at the end of the case stanza, i.e. before > > ;; > i[34567]86-*-sysv5*) # Intel x86 on System V Release 5 > There are so many changes and I can't test any of them. I will leave them to someone who can test. I will be happy to back out: - tmake_file="$tmake_file i386/t-sol2-10" + tmake_file="$tmake_file i386/t-crtstuff i386/t-sol2-10" in the mean time. H.J.