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]

Building a cross-compiler on host PC-cygwin for target m68k-coff.


Hello Jyrki and everybody!

As you know I'm trying to build a cross-compiler for target m68k-coff on my
PC.
You have given me good advise taking me further than
I ever been in my efforts to succeed in this.
I have a cygwin environment wich is working.
I have succeded to build a cross-assembler and cross-linker using
a native gcc-compiler wich follows with my cygwin installation doing:
configure --target=m68k-coff --prefix=/usr/crossgcc
make
make install  from
cygnus/tmp/binutils-2.11

Thus I place my crosscompiler in cygnus/usr/crossgcc

I have configured the crosscompiler with.
configure --target=m68k-coff --prefix=/usr/crossgcc --with-newlib
from
cygnus/tmp/gcc-2.95.3

Problems occur when I run make. 

I have solved one problem by adding a seekway (  /cygnus/usr/crossgcc/bin
(you mentioned it in your email))
in cygnus.bat as m68k-coff-ar couldn't be found, but now a new problem have
occured.

First I get a warning "conlicting types for built in function 'memcpy' ".
Then comes "Testing libgcc1. Ignore linker warning messages".
This is followed by a lot of seekways I think and ended with:
./cpp.texi: No such file or directory
make[1]: *** [cpp.info] Error 2
make: *** [all-gcc] Error 2 

I have tried to add these two seekways to cygnus.bat cygnus/tmp/gcc-2.95.3 
and cygnus/tmp/gcc-2.95.3/gcc but it doesn't help. 

If you or someone have a clue on this I would be very thankful.
I attach a print of the stuff that bash says when I run make. 
<<make_gcc3.txt>> 

greeting Mikael Johansson
make[2]: Nothing to be done for `all'.
make all-recursive
Making all in intl
make[3]: Nothing to be done for `all'.
Making all in lib
make[3]: Nothing to be done for `all'.
Making all in makeinfo
make[3]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
(cd intl && make all)
make[2]: Nothing to be done for `all'.
/cygnus/tmp/src/gcc-2.95.3/gcc/xgcc -B/cygnus/tmp/src/gcc-2.95.3/gcc/ -B/usr/crossgcc/m68k-coff/bin/ -I/usr/crossgcc/m68k-coff/include -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include     -c ./libgcc1-test.c
Testing libgcc1.  Ignore linker warning messages.
/cygnus/tmp/src/gcc-2.95.3/gcc/xgcc -B/cygnus/tmp/src/gcc-2.95.3/gcc/ -B/usr/crossgcc/m68k-coff/bin/ -I/usr/crossgcc/m68k-coff/include -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include  libgcc1-test.o -o libgcc1-test \
  -nostartfiles -nostdlib `/cygnus/tmp/src/gcc-2.95.3/gcc/xgcc -B/cygnus/tmp/src/gcc-2.95.3/gcc/ -B/usr/crossgcc/m68k-coff/bin/ -I/usr/crossgcc/m68k-coff/include --print-libgcc-file-name`
/cygnus/tmp/src/gcc-2.95.3/texinfo/makeinfo/makeinfo   -I. -o cpp.info ./cpp.texi

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

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