public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How to configure/compile gcc for a specific cpu ?
@ 2001-11-12 18:11 jeroen dobbelaere
  0 siblings, 0 replies; only message in thread
From: jeroen dobbelaere @ 2001-11-12 18:11 UTC (permalink / raw)
  To: gcc-help

Hello,

I'm trying to create a cross compiler
from i686-linux to arm-linux with gcc-3.0.2.

This works fine, but I'm trying to default the
processor support to cpu = 'xscale', and only 'soft-float'
support.

I've used this to configure :

../gcc-3/configure --prefix=/opt/armlinux-root \
		--target=arm-linux --with-cpu=xscale \
		--program-transform-name=s,^,arm-linux-, \
		--without-fp --enable-languages="c c++" \
		--enable-threads=posix \
		--with-headers=/opt/armlinux-root/include

which creates a usable cross-compiler, but after checking,
the default is not explicitely to 'xscale' and 'soft-float'

-> using
   arm-linux-gcc -O2 -c tst.c

has different results as
   arm-linux-gcc -O2 -mcpu=xscale -msoft-float -c tst.c


What is the best way to resolve this ?


Greetings,
--
Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions
http://www.acunia.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-21 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-12 18:11 How to configure/compile gcc for a specific cpu ? jeroen dobbelaere

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).