cpu32 target but 68020 code generated

Franzi Edo. edo.franzi@ukos.ch
Fri May 26 11:28:00 GMT 2006


Hi,
I really need some help!!
I am trying to build an application running on a cpu32  
microcontroller (without fpu). I notice that when I link with libc.a,  
I  obtain a code for 68020 with fpu!!!  (see the fmovemx ....)

0011903a <_vfprintf_r>:
   11903a:	4e56 f978      	linkw %fp,#-1672
   11903e:	f227 e00c      	fmovemx %fp2-%fp3,%sp@-
...

I tried to play many time with the linker ... unsuccessfully. Here is  
my command line

app.elf : crt0.o main.o c68_Usr.ld Makefile
	$(CC) crt0.o main.o ioExt.o comm.o kern.o --verbose -mcpu32 - 
nostartfiles -msoft-float -Tc68_Usr.ld -lc -o $@

How can I force gcc to deliver me a good code for the cpu32  
microcontroller (without floating point special instructions)?
Any suggestions?
   Regards Edo.

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list