Toolchain for m68k and coldfire cpus
Franzi Edo.
edo.franzi@ukos.ch
Sat Jul 19 13:18:00 GMT 2008
Hi All,
I would like to generate a toolchain for m68k+coldfire processors
using the new gcc-4.3.1.
At this moment I am using the version of gcc-4.2.4. With this version
(4.2.4) everything
is built perfectly. For the version 42.4 I had to set-up the file t-
m68kelf located in the
folder /gcc-4.2.4/gcc/config/m68k/ containing the information about
the supported cpu,
the multilib, etc.
Here is the my file t-m68kelf:
LIB1ASMSRC = m68k/lb1sf68.asm
LIB1ASMFUNCS = _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 \
_double _float _floatex \
_eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 \
_eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2
LIB2FUNCS_EXTRA = fpgnulib.c xfgnulib.c
fpgnulib.c: $(srcdir)/config/m68k/fpgnulib.c
cp $(srcdir)/config/m68k/fpgnulib.c fpgnulib.c
xfgnulib.c: $(srcdir)/config/m68k/fpgnulib.c
echo '#define EXTFLOAT' > xfgnulib.c
cat $(srcdir)/config/m68k/fpgnulib.c >> xfgnulib.c
MULTILIB_OPTIONS = m528x/mcpu32 m68881/msoft-float
MULTILIB_OPTIONS += fPIC
MULTILIB_DIRNAMES =
MULTILIB_MATCHES = mcpu32=m68332
MULTILIB_EXCEPTIONS = m528x/m68881 m528x/msoft-float \
mcpu32/m68881 mcpu32/msoft-float
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
Now I would like to use the same t-m68kelf file with the gcc-4.3.1,
but of course, it doesn't work!!
Could someone help me to setup the gcc-4.3.1 for generating the compiler
supporting the same features? (cpu32, coldfire, multilib, fPIC, etc).
Regards
Edo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1584 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20080719/b01c5bd3/attachment.p7s>
More information about the crossgcc
mailing list