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]

building linux target runtime on win2000 cygwin host


Hello ,

I have simple question, whether it is possible to build Linux runtime files
from Win2000 Cygnus host or not. I would welcome if someone can share its
experiences. If the building of these files is not possible from Win2000,
are they available some on web for download? 

I have read the http://www.objsw.com/CrossGCC/ and
http://www.nanotech.wisc.edu/~khan/software/gnu-win32/cygwin-to-newlib-cross
-howto.txt, but I am still not sure on the mater. I have also tried building
a CrossCompiler with --target=i686-pc-linux-gnu on Win2000 and Cygwin.

I used the following sources for the build:
  binutils-2.13.2.1.tar
  gcc-3.2-3-src.tar (small patch for __mempcpy applied)
  newlib-1.11.0.tar.gz

The build was partly successful - with a possibility to compile sources, but
not being able to link them as e.g. crt1.o is missing.

During building of GCC I got the following error:

mkdir libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/cross-linux/build_gcc/gcc/xgcc -B/usr/cross-linux/build_gcc/gcc/
-B/usr/cross-linux/i686-pc-linux-gnu/bin/
-B/usr/cross-linux/i686-pc-linux-gnu/lib/ -isystem
/usr/cross-linux/i686-pc-linux-gnu/include -O2  -DIN_GCC -DCROSS_COMPILE
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
-I. -I. -I../../gcc-3.2-3/gcc -I../../gcc-3.2-3/gcc/.
-I../../gcc-3.2-3/gcc/config -I../../gcc-3.2-3/gcc/../include  -DL_muldi3 -c
../../gcc-3.2-3/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:22,
                 from ../../gcc-3.2-3/gcc/libgcc2.c:36:
../../gcc-3.2-3/gcc/config/i386/linux.h:224:20: signal.h: No such file or
directory
../../gcc-3.2-3/gcc/config/i386/linux.h:225:26: sys/ucontext.h: No such file
or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/usr/cross-linux/build_gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/cross-linux/build_gcc/gcc'
make: *** [all-gcc] Error 2 


I also wanted to use a "One Pass Installation", but the script
one-tree-1.6.sh refused my sources. After that I have looked at "configure"
files in each package and found, that they are different. After this I've
abandoned the "One Pass Installation" at all.
  
Thanks for Your answer.

Petr Maxa.


------
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]