public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bart Locanthi <bart@sabl.com>
To: gcc-help@gcc.gnu.org
Subject: unable to configure for m68k
Date: Fri, 21 May 2004 03:30:00 -0000	[thread overview]
Message-ID: <40AD7974.4060907@sabl.com> (raw)

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.

             reply	other threads:[~2004-05-21  3:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21  3:30 Bart Locanthi [this message]
2004-05-21  4:29 ` Ian Lance Taylor
2004-05-21 16:10   ` Bart Locanthi
2004-05-21  4:36 ` llewelly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40AD7974.4060907@sabl.com \
    --to=bart@sabl.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).