This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cross compiler sparc m68k


I am trying to compile gcc for an 68302 embedded environment I follow the
http://www.objsw.com/CrossGCC/FAQ-4.html#ss4.1, the setting for unix system (my
host is a sparc-sun-solaris2.6)

I've built and installed the binutils successfully

Then it becomes harder
I configure gcc with

target=m68k-coff
prefix=/home/export/usr/local/GCC
cd build-gcc

../gcc-2.95.3/configure --prefix=$prefix --target=$target -v --enable-languages=c,c++ --disable-shared --disable-threads --disable-nls --with-newlib --with-headers=../newlib-1.8.2

make

My problems comes with the libiberty compilation, it tries to include stdio.h,
sys/types.h errno.h and some file like that. In the cross faq, I understand
that if we don't have the target standard includes, newlib will furnish those.

I looked in mailing list and didn't find anything.

I've got autogen 4.1:
AutoGen - The Automated Program Generator - Ver. 4.5.14
USAGE:  autogen [-<flag> [<val>]]... [--<name>[{=| }<val>]]... [ <def-file> ]

Thousand of thank's for any help.

-- 
Christophe DELARUE        E-Generis
Tel.: (+33) 299 842052    Fax.: (+33) 299 639331
13, sq. du Chene Germain / 35510 Cesson-Sevigne / France
mailto:cdelarue@e-generis.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]