Thanks for the replies.
I think I might need a bit more help with this one!

I downloaded cegcc and the nearest version I could find of binutils 
(Sticky Date: 2008.01.06.00.00.00) and version 4.1.0 of gcc, to do diffs 
to analyse the changes as suggested by Vincent.

I started out by compiling cegcc for arm - at least I could get that to 
work!

As for sh, I haven't even got to gcc yet - still on binutils.

The biggest difference seems to be a substantial patch (in cegcc but not 
the reference binutils) which does stuff like this in the arm code:
#define   bfd_pe_print_pdata pe_print_compressed_pdata
which I think is the same patch as described here:
http://www.mail-archive.com/bug-binut...@gnu.org/msg03597.html

This patch seems to prevent the code from compiling for the sh target as 
I get errors like:
/export/rocky2/hywel/cegcc_src/cegcc_sh4try/src/binutils/bfd/coffcode.h:5267: 
error: 'bfd_pe_print_pdata' undeclared here (not in a function)

However, I have tried compiling the non-cegcc version of binutils for 
target=sh-wince-pe and that seems to build fine.

Can anyone tell me if I need the patch above (which is integrated into 
cegcc at the moment). If I could ignore it, it might make it simpler for 
me to make some progress here.

Thanks,
Hywel.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to