Re: SH2aeb support

2008-10-06 Thread Bernhard Reutner-Fischer
On Mon, Oct 06, 2008 at 02:26:24PM +0100, Kieran Bingham wrote: >Hi Bernhard, > >2008/10/6 Bernhard Reutner-Fischer <[EMAIL PROTECTED]> > >> On Mon, Oct 06, 2008 at 03:01:15PM +0200, Carmelo AMOROSO wrote: >> >> >I'm not so aware of not elf format... if I guess correctly sh2a doesn't >> >use elf fo

Re: SH2aeb support

2008-10-06 Thread Kieran Bingham
Hi Bernhard, 2008/10/6 Bernhard Reutner-Fischer <[EMAIL PROTECTED]> > On Mon, Oct 06, 2008 at 03:01:15PM +0200, Carmelo AMOROSO wrote: > > >I'm not so aware of not elf format... if I guess correctly sh2a doesn't > >use elf format (as from -Wl,-elf2flt). > > sh-elf would build fine, not sure why y

Re: SH2aeb support

2008-10-06 Thread Kieran Bingham
2008/10/6 Carmelo AMOROSO <[EMAIL PROTECTED]> > Which is the target file format used to build uclibc. > I'm not so aware of not elf format... if I guess correctly sh2a doesn't use > elf format (as from -Wl,-elf2flt). > indeed "UCLIBC_FORMAT_FLAT=y " > >> If I build with "Support global construc

Re: SH2aeb support

2008-10-06 Thread Bernhard Reutner-Fischer
On Mon, Oct 06, 2008 at 03:01:15PM +0200, Carmelo AMOROSO wrote: >I'm not so aware of not elf format... if I guess correctly sh2a doesn't >use elf format (as from -Wl,-elf2flt). sh-elf would build fine, not sure why you are ( or trying to) use elf2flat? >If __UCLIBC_FORMAT_SHARED_FLAT__ is not

Re: SH2aeb support

2008-10-06 Thread Carmelo AMOROSO
Kieran Bingham wrote: > Hi Carmelo. > Thanks for the hint, Yes SVN:Trunk does solve the memcpy build issue it > would seem. > fine. > I have another issue I've not been able to figure out correctly. > > With "Support global constructors and destructors" turned off, uClibc > doesn't seem to buil

Re: SH2aeb support

2008-10-06 Thread Kieran Bingham
Hi Carmelo. Thanks for the hint, Yes SVN:Trunk does solve the memcpy build issue it would seem. I have another issue I've not been able to figure out correctly. With "Support global constructors and destructors" turned off, uClibc doesn't seem to build crti.o and crtn.o, yet the linker still look

Re: SH2aeb support

2008-10-05 Thread Carmelo Amoroso
Kieran Bingham wrote: > Hi Guys, > > I'm currently trying to build uClibc-0.9.30-rc1 for SH2aeb and found an > issue when building which I fixed with the attached patches. > > make[2]: Entering directory `/opt/sh/2a/build/src/test-apps-0.1' > sh2aeb-linux-uclibc-gcc -Wl,-EB test.c -o test > tes

SH2aeb support

2008-10-05 Thread Kieran Bingham
Hi Guys, I'm currently trying to build uClibc-0.9.30-rc1 for SH2aeb and found an issue when building which I fixed with the attached patches. make[2]: Entering directory `/opt/sh/2a/build/src/test-apps-0.1' sh2aeb-linux-uclibc-gcc -Wl,-EB test.c -o test test.c: In function 'main': test.c:5: warn