This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
One more question on building m68k cross-compiler.
- To: gcc at gcc dot gnu dot org <gcc at gcc dot gnu dot org>
- Subject: One more question on building m68k cross-compiler.
- From: SuPeR6 <super6 at 21cn dot com>
- Date: Thu, 5 Jul 2001 10:14:12 +0800
- CC: super6 at start dot com dot cn <super6 at start dot com dot cn>
- Organization: Private Mail
- Reply-To: super6 at 21cn dot com
Hi, gcc,
>> as: unrecongnized option '-c68020'
>This message is coming from the assembler, which is invoked by the compiler.
>I don't think you have the proper assembler installed. Get binutils from
>http://sources.redhat.com/binutils and configure it with
> --target=m68k-coff --program-prefix=m68k-coff-
>Install it somewhere and make sure it's on your path.
Yes, you are right. After I installed binutils, the old error disappeared. But I met one new question showed as following.
.....
checking whether time.h and sys/time.h may both be included... no
checking whether errno must be declared... yes
checking whether the C compiler (/tmp/gccobj/gcc/xgcc -B/tmp/gccobj/gcc/ -B/usr/
local/m68k-coff/bin/ -B/usr/local/m68k-coff/lib/ -isystem /usr/local/m68k-coff/i
nclude -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
make: *** [configure-target-libiberty] Error 1
(make halt)
I am not an expert on Linux, but I just want to build an m68k cross-compiler for special purpose.
With my best wish to you!
Yours,
Liu Xiaochao
2001-07-05 9:36:39