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]

Re: Building CVS binutils/gcc xcompiler using mingw?


Hello all.

I am attempting to build a cross compiler for the Atmel uC using the latest
CVS sources for binutils and gcc.
binutils configures builds and installs great, gcc configures great but wont
build.

The compiler to build these cvs versions of tools is this:
$ gcc -v
Reading specs from c:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-6/specs
gcc version 2.95.3-6 (mingw special)

configuring under msys or cygwin works great
Under MinGW32's MSYS i get the following error IMMEADTELY:
$ make all
make: *** No rule to make target
`/usr/local/inst/gcc-20020610/gcc/version.c', needed by `Makefile'.  Stop.

Under cygwin (again using mingw's built xcompiler) I get the following error
after partial compiling:
gcc -DIN_GCC -DCROSS_COMPILE   -g -O2 -W -Wall -Wwrite-strings -Wstrict-prot
otyp
es -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFI
G_H
 -o Tcollect2.exe \
        collect2.o tlink.o hash.o intl.o underscore.o version.o
./intl/libintl.a
   ../libiberty/libiberty.a
collect2.o: In function `handler':
//C/cygwin/usr/local/inst/gcc-20020610/gcc/./collect2.c:461: undefined
reference
 to `kill'
collect2.o: In function `scan_prog_file':
//C/cygwin/usr/local/inst/gcc-20020610/gcc/./collect2.c:2098: undefined
referenc
e to `pipe'
//C/cygwin/usr/local/inst/gcc-20020610/gcc/./collect2.c:2121: undefined
referenc
e to `fork'
make[1]: *** [collect2.exe] Error 1
make[1]: Leaving directory `/usr/local/inst/gcc-20020610/gcc'
make: *** [all-gcc] Error 2

Any guides or assistance with building CVS sources of GCC under MINGW32
would be greatly appreciated!

Thanks,
Tony


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