Linker problems with arm-wince, need help/info

Chad J gamerChad at _spamIsBad_gmail.com
Wed Jun 14 21:30:13 PDT 2006


pedro alves wrote:
> 
> Yes, it seems that wrong target underscoring is the problem here. I have
> seen this problem too when moving Mamaich's toolchain into gcc4.
> 
> You should check cegcc's (http://cegcc.berlios.de) start files. They are
> similar, but not the same.
> 
> There are other problems that I fixed for c++ and for binutils related
> to underscoring. I have fixes (some are already in binutils mainline),
> to enable the generation of correct dlls.
> 
> You will find patches for that at cegcc's file section.
> I don't know if d is debuggable with gdb, but I have also improved on
> gdb for
> arm-wince-pe. For that you will need to get gdb from cegcc's svn.
> 
> That being said, are can try adding a
> -fno-leading-underscore to TARGET_LIBGCC2_CFLAGS in
> gcc/config/arm/t-wince-pe
> 
> Cheers,
> Pedro Alves

I will try out using cegcc on this as soon as I get the chance.  It 
seems very cool.  I wish I had seen cegcc when I had started on this 
project :)



More information about the D.gnu mailing list