(Fwd) egcs-1.0.1 --target=i386-pc-cygwin32 --host=i586-pc-linu

Michel Juillard michel@pythie.cepremap.cnrs.fr
Sat Feb 14 13:02:00 GMT 1998


1) I'm encountering difficulties building egcs-1.0.1 as 
a cross-compiler from Linux to cygwin32 for NT

When building cygwin.dll the building fails because the linker can't 
find reference to 
	type_info::name(void)

and to
	__register_exceptions

routines.

but if I do, still on Linux, the same operation on the cdk sources, I 
don't encounter the problem.

I was able to trace the problem with __register_exceptions to 
libgcc2.c in the egcs-1.0.1 version, the __register_exceptions 
procedure is excluded if DWARF2.... is defined. It is the case with 
i386.h.

The #ifndef DWARF2.... line isn't present in the cdk sources.

I guess it's related to the i386.h discussion, but I couldn't find 
reference to this particular problem.

2) It seems possible to use cdk sources to build a cross-compiler 
linux -> cygwin32, would it work?

thanks

Michel

---------------------------------------------
Michel Juillard
CEPREMAP
140, rue du Chevaleret
75013 Paris

tel (33 1) 40.77.84.24
fax (33 1) 44.24.38.57
maison (33 1) 42.52.92.66
---------------------------------------------



More information about the Gcc mailing list