--- Daniel Jacobowitz <[EMAIL PROTECTED]> wrote: > On Thu, Apr 14, 2005 at 09:36:59AM +0200, Bernardo > Innocenti wrote: > > Daniel Jacobowitz wrote: > > > On Wed, Apr 13, 2005 at 10:10:39AM +0200, > Bernardo Innocenti wrote: > > >> > > >>So it seems adding coldfire-linux is the only > way > > >>to address this... > > > > > > Why? Adding support (if it isn't already there) > for something like > > > --with-arch=coldfire should work just as well. > > > > But how do we change behavior in > gcc/config/t-linux > > according to the switch? > > You probably don't need to. The newly built > compiler will default to > the right architecture; any assembly routines can be > keyed off an > appropriate builtin define.
Will there be any issues with binutils? Assembler should also default to this architecture (coldfire). These were the additions i had to make to t-linux for coldfire 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 = mcfv4e EXTRA_MULTILIB_PARTS= crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o EXTRA_MULTILIB_OPTIONS=-mcfv4e LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib Can these also be taken care of? LIB2FUNCS_EXTRA? EXTRA_MULTILIB_PARTS? etc Regards, C Jaiprakash __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/