public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* unable to configure for m68k
@ 2004-05-21  3:30 Bart Locanthi
  2004-05-21  4:29 ` Ian Lance Taylor
  2004-05-21  4:36 ` llewelly
  0 siblings, 2 replies; 4+ messages in thread
From: Bart Locanthi @ 2004-05-21  3:30 UTC (permalink / raw)
  To: gcc-help

hi, i'm trying to build a cross-compiler on linux to target m68000, and 
i think the coldfire variant.

however, when i try to configure/make it, i get a message about the 
assembler not knowing about the 68020.

i've tried telling configure to only target the 68000 but that option 
doesn't work for m68k.

here's one of many things i've tried:

% ./configure --prefix=/usr/local/68k --target=m68k-none-elf 
--with-gnu-as --with-gnu-ld
% make
...
/usr/local/src/gcc-3.4.0/gcc/xgcc -B/usr/local/src/gcc-3.4.0/gcc/ 
-B/usr/local/68k/m68k-none-elf/bin/ -B/usr/local/68k/m68k-none-elf/lib/ 
-isystem /usr/local/68k/m68k-none-elf/include -isystem 
/usr/local/68k/m68k-none-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE   
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -I. -I. -I. -I./. 
-I./../include   -g0 -finhibit-size-directive -fno-inline-functions 
-fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time  \
  -Dinhibit_libc -c ./crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
as: unrecognized option `-mc68020'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/usr/local/src/gcc-3.4.0/gcc'
make: *** [all-gcc] Error 2

suggestions welcome.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to configure for m68k
  2004-05-21  3:30 unable to configure for m68k Bart Locanthi
@ 2004-05-21  4:29 ` Ian Lance Taylor
  2004-05-21 16:10   ` Bart Locanthi
  2004-05-21  4:36 ` llewelly
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2004-05-21  4:29 UTC (permalink / raw)
  To: Bart Locanthi; +Cc: gcc-help

Bart Locanthi <bart@sabl.com> writes:

> as: unrecognized option `-mc68020'
> make[1]: *** [crtbegin.o] Error 1
> make[1]: Leaving directory `/usr/local/src/gcc-3.4.0/gcc'
> make: *** [all-gcc] Error 2
> 
> suggestions welcome.

You have to build the cross-assembler, in the binutils package, first.
Use the same --prefix.  There is a crossgcc FAQ around somewhere.

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to configure for m68k
  2004-05-21  3:30 unable to configure for m68k Bart Locanthi
  2004-05-21  4:29 ` Ian Lance Taylor
@ 2004-05-21  4:36 ` llewelly
  1 sibling, 0 replies; 4+ messages in thread
From: llewelly @ 2004-05-21  4:36 UTC (permalink / raw)
  To: Bart Locanthi; +Cc: gcc-help

Bart Locanthi <bart@sabl.com> writes:

> hi, i'm trying to build a cross-compiler on linux to target m68000,
> and i think the coldfire variant.

Try crossgcc at sources dot redhat dot com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to configure for m68k
  2004-05-21  4:29 ` Ian Lance Taylor
@ 2004-05-21 16:10   ` Bart Locanthi
  0 siblings, 0 replies; 4+ messages in thread
From: Bart Locanthi @ 2004-05-21 16:10 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help

cool, thanks.

sigh, unfortunately it looks like c++, java, and objc are unsupported on 
m68k. what's the world coming to when you can't target a, er, umm, 24 
year old architecture?!

Ian Lance Taylor wrote:

>Bart Locanthi <bart@sabl.com> writes:
>
>  
>
>>as: unrecognized option `-mc68020'
>>make[1]: *** [crtbegin.o] Error 1
>>make[1]: Leaving directory `/usr/local/src/gcc-3.4.0/gcc'
>>make: *** [all-gcc] Error 2
>>
>>suggestions welcome.
>>    
>>
>
>You have to build the cross-assembler, in the binutils package, first.
>Use the same --prefix.  There is a crossgcc FAQ around somewhere.
>
>Ian
>  
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-21 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-21  3:30 unable to configure for m68k Bart Locanthi
2004-05-21  4:29 ` Ian Lance Taylor
2004-05-21 16:10   ` Bart Locanthi
2004-05-21  4:36 ` llewelly

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).