arm-elf MULTILIBS_DEFAULT

Ralf Corsepius corsepiu@faw.uni-ulm.de
Fri Feb 28 13:09:00 GMT 2003


Am Fre, 2003-02-28 um 11.15 schrieb Richard Earnshaw:
> > Below is the patch I am currently using and which AFAIS seems to
> > implement the desired behavior.
> > 
> > Ralf
> 
> Nearly, but not quite.
> 
> > +
> > +/* Because TARGET_DEFAULT sets ARM_FLAG_SOFT_FLOAT */
> > +#undef SUBTARGET_EXTRA_ASM_SPEC
> > +#define SUBTARGET_EXTRA_ASM_SPEC "\
> > +   %{!mhard-float: \
> > +    %{!msoft-float:-mno-fpu}}"
> > 
> 
> This should be in SUBTARGET_ASM_FLOAT_SPEC.
Hmm, I saw that you redirect it, but ...

> Also, the order of your include files looks suspect (in config.gcc); I 
> think it should be
> 
> dbxelf.h elfos.h arm/rtems-elf.h rtems.h arm/elf.h arm/aout.h arm/arm.h
> 
> Note that arm/unknown-elf.h should not be included -- it's for an unknown 
> OS environment and is bogus in this instance (if there really is a 
> definition in this file that you rely on, copy it to arm/rtems-elf.h).
Bummer, I just extended what has been present before. 
This arm-rtems must have been broken for quite a while :-(

> Once you have the include order correct it won't be necessary to keep 
> undefining macros before defining variants.
OK, this might explain why I am having problems at all. I was already
wondering why the different defaults didn't match :-(

Ralf
 



More information about the Gcc mailing list