Re: m88k in cross compilation

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

 



Ian Lance Taylor wrote:

Palmax Maverick <palmax@xxxxxxxxx> writes:

I want to cross compile to m88k from my x86 computer with GNU/Debian stable.
I read your manual and I think that I have to compile gcc with
"--target=m88k" flag, because I don't find any debian package for do
it.

Note that m88k support was removed from gcc as of the 3.4 release.
The last release to support the m88k was 3.3.

 A quick try with the 'm88k-coff' embedded target told that gcc-2.95.3
can be built nicely with the libstdc++ and all (C and C++ only) but
the later gcc-3.2.3 needed one patch before it succeeded to go to the
libgcc.a compile. There it then crashed with an ICE...

 The patch was removing a '#define SUPPORT_ONE_ONLY TARGET_SVR4' (or
something) from the 'm88k/m88k.h' into the the 'm88k/sysv4.h' and
changing the 'TARGET_SVR4' to be '1' there. This sounded logical but
maybe was wrong... Anyhow the original caused the 'cpp-init.c' to
refer to the undefined symbol 'target_flags' coming from the TARGET_SVR4
macro...

 I used a self-built gcc-3.2.3 for Red Hat 7.3 on Red Hat 8.0 to compile
these GCC sources. The binutils version used was 2.13.90.0.something
(the last '2.13.90.0.x' on ftp.kernel.org) but maybe newer ones could
work too ("work" = "could be built").

 Maybe those OpenBSD ports for m88k have some more sane (than that of
mine) fixes for the later-than-gcc-2.9-branch GCCs...

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux