building for cygwin (nearly there)

Bruce Adams
Tue Sep 10 05:25:00 GMT 2002

> ++-v3/include/c
> >stdlib:116: `
> >   wctomb' not declared
> >/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc
> ++-v3/include/c
> >stdlib:122: syntax
> >   error before `(' token
> >make[3]: *** [eh_alloc.lo] Error 1
> >make[3]: Leaving directory
> >`/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstd
> c++-v3/libsupc+
> >+'
> >make[2]: *** [all-recursive] Error 1
> >make[2]: Leaving directory
> >`/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3'
> >make[1]: *** [all-recursive-am] Error 2
> >make[1]: Leaving directory
> >`/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3'
> >make: *** [all-target-libstdc++-v3] Error 2
> >
> I've seen an incompatible stdlib.h causing these errors. It's 
> possibly a 
> leftover from the first pass with the --without-headers 
> switch. You can 
> delete the $PREFIX directory and all files from the gcc build 
> directory. 
> Then run 'make install' on binutils and newlib and configure 
> and build 
> gcc for the second pass.
I just tried that as suggested.  Unfortunately it didn't fix the problem.
Could the reason be the same reason (what is it?) that cygwin itself 
still only uses gcc 2.95.3-5 ?
					 Bruce A.

 Any opinions expressed in this e-mail are those of the individual and not
 necessarily those of Tyco Electronic Product Group.

 Any prices for the supply of goods or services are only valid if supported
 by a formal written quotation.

 This e-mail and any files transmitted with it, including replies and
 forwarded copies (which may contain alterations) subsequently transmitted
 from Tyco Electronic Product Group are confidential and solely for the use
 of the intended recipient.

 If you are not the intended recipient or the person responsible for
 delivery to the intended recipient, be advised that you have received this
 e-mail in error and that any use is strictly prohibited.  In this event,
 please notify us via e-mail at '' or telephone on 
 0121 255 6499 and then delete the e-mail and any copies of it.

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list