kind of cross compiling howto
John Smith
someone@microsoft.com
Fri Jun 2 04:53:00 GMT 2000
My cygwin is 1.1.0 (with cygwin-20000301.tar.gz)
under windows 2K. My mounts are : bash-2.03$
mount DeviceÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
DirectoryÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
TypeÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
Flags d:\cygwin\binÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
/usr/binÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
userÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
binmode d:\cygwin\libÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
/usr/libÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
userÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
binmode d:\cygwinÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
/ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
userÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
textmode bash-2.03$ I'm trying to build a crossgcc cygwin X m68k-coff
for several weeks. I read read your <gccm68k.txt> with great interest, and
tried to make it the way you explain. Helas ... - I could build binutils
2.9.1 (and also binutils-19990818 from
mirror/cygwin/latest/binutils/binutils-19990818-1-src.tar.gz) - Then I
provide THIS symlink : bash-2.03$ cd
/usr/local/m68k-coff bash-2.03$ ln -s
/usr/local/src/newlib-1.8.2/newlib/libc/include
sys-include ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
^^^^^^^^^^^ because if I create a symlink called include, building gcc
fails, saying : can't cd to m68k-coff/sys-include. Am I right ? - BUT I
STILL CANNOT build gcc 2.95.2 ; here is error messages : bash-2.03$ make
> mymake.log ../../gcc-2.95.2-1/libiberty/pexecute.c: In function
`pexecute': ../../gcc-2.95.2-1/libiberty/pexecute.c:418: warning: assignment
discards qualifiers from pointer target type ../../gcc-2.95.2-1/gcc/gcc.c: In
function `process_command': ../../gcc-2.95.2-1/gcc/gcc.c:2897: warning:
passing arg 3 of `make_relative_prefix' discards qualifiers from pointer target
type ../../../gcc-2.95.2-1/gcc/fixinc/fixincl.c: In function
`initialize': ../../../gcc-2.95.2-1/gcc/fixinc/fixincl.c:349: `SIGIOT'
undeclared (first use in this
function) ../../../gcc-2.95.2-1/gcc/fixinc/fixincl.c:349: (Each undeclared
identifier is reported only
once ../../../gcc-2.95.2-1/gcc/fixinc/fixincl.c:349: for each function it
appears in.) make[2]: *** [fixincl.o] Error
1 ../../gcc-2.95.2-1/gcc/libgcc1-test.c:101: warning: conflicting types for
built-in function `memcpy' cxxmain.c: In function `main': cxxmain.c:4527:
warning: assignment discards qualifiers from pointer target
type cxxmain.c:4530: warning: assignment discards qualifiers from pointer
target type ../../gcc-2.95.2-1/gcc/cpp.texi: error 0 make[1]: ***
[cpp.info] Error 2 make: *** [all-gcc] Error 2 bash-2.03 => make
breaks before building m68k-coff-gcc So could you please tell me
: - what is your version of cygwin ? - what are your mounts
? - what version of gcc do you use ? I meam : where did you get the
archive ? ÃÂ There several versions whose name is prefixed by
gcc-2.95.2, depending on the site from where you downloaded it. ÃÂ Is
there any patches to apply against gcc, to fix fixincl.c ? - Am I doing
right for the symlink ?
- Libiberty is built within binutils. Is it
necessary to rebuild it within gcc package ? If not, how can I avoid this
?
ÃÂ
ÃÂ
Thank you very
much, Germain Ivanoff-Trinadtzaty
ÃÂ
More information about the crossgcc
mailing list