[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Native GCC built



Le 20/11/2013 00:43, Alan Hourihane a écrit :
The current GCC patch doesn't work on pure 68k because it tries to
compile the m5475 libraries during multilib compilation and execute some
tests with that code linked. They fail and crash, thus aborting GCC
compilation.

A quick idea would be disable runtime tests in libgcc and libstdc++-v3. That could be achieved by tweaking those libraries' configure scripts so they always think that cross compilation is enabled.

At the top of the configure scripts, I see:
cross_compiling=no
which is the default value.

So something like this may do the trick (untested):

sed -i 's/^cross_compiling=no$/cross_compiling=yes/g' libgcc/configure libstdc++-v3/configure

--
Vincent Rivière