This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Toolchain for m68k and coldfire cpus


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


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]