diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-04-16 17:14:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-04-16 17:14:36 +0000 |
commit | 97ad1a52e4b927ce401e134f9982c9e64748d414 (patch) | |
tree | b66d281c64e765fc9f9607fd69a7c4e07b28fb26 /make | |
parent | Patch rtems-rc-4.5.0-14-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. (diff) | |
download | rtems-97ad1a52e4b927ce401e134f9982c9e64748d414.tar.bz2 |
After investigating a problem reported by Franck Julien <FranckJ@cxr.fr>,
I discovered that when specifying -m68000 and -msoft-float to gcc 2.95.2,
it decides that the proper multilib variant is the default one which is
compiled for the m68020 and hardware floating point. This appears to be
because there is no 68000/soft-float library variant. This problem
applies to all m68000 class CPUs options including -m68302.
Diffstat (limited to 'make')
-rw-r--r-- | make/custom/efi68k.cfg | 4 | ||||
-rw-r--r-- | make/custom/gen68302.cfg | 4 | ||||
-rw-r--r-- | make/custom/ods68302.cfg | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/make/custom/efi68k.cfg b/make/custom/efi68k.cfg index 8b8e6e6554..ece3c51876 100644 --- a/make/custom/efi68k.cfg +++ b/make/custom/efi68k.cfg @@ -15,7 +15,9 @@ RTEMS_BSP_FAMILY=efi68k # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # -CPU_CFLAGS = -m68000 -msoft-float +# 68000+softfloat results in gcc 2.95.2 giving default libraries. +# CPU_CFLAGS = -m68000 -msoft-float +CPU_CFLAGS = -m68000 # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS diff --git a/make/custom/gen68302.cfg b/make/custom/gen68302.cfg index 334d803fe5..5b21cd771a 100644 --- a/make/custom/gen68302.cfg +++ b/make/custom/gen68302.cfg @@ -16,7 +16,9 @@ RTEMS_BSP_FAMILY=gen68302 # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # -CPU_CFLAGS=-m68302 -msoft-float +# 68000+softfloat results in gcc 2.95.2 giving default libraries. +# CPU_CFLAGS = -m68302 -msoft-float +CPU_CFLAGS = -m68302 # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS diff --git a/make/custom/ods68302.cfg b/make/custom/ods68302.cfg index d5ef6ac8b3..b370681db1 100644 --- a/make/custom/ods68302.cfg +++ b/make/custom/ods68302.cfg @@ -20,7 +20,9 @@ RTEMS_BSP_FAMILY=ods68302 # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # -CPU_CFLAGS =-m68302 -msoft-float +# 68000+softfloat results in gcc 2.95.2 giving default libraries. +# CPU_CFLAGS = -m68302 -msoft-float +CPU_CFLAGS = -m68302 CPU_DEFINES = \ -DVARIANT=$(BSP_VARIANT) -DMC68302_BASE=$(MC68302_BASE) \ -DRAM_BASE=$(RAM_BASE) -DRAM_SIZE=$(RAM_SIZE) \ |