This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannont build cross-gcc for sh4


Kai Ruottu wrote:
> 
>  What is the 'target' now for 'sh-elf' ?  Definitely it is not an embedded
> SH-board using newlib any more. The new config settings assume the target
> possibly using shared libs and its C-library having something equal with
> the '__eabi()' in PowerPC, a totally unknown initialization routine named
> 'setup_vararg_and_call_main', called from the new 'crt1.o' startup for
> 'sh-elf'... Editing the resulted 'specs' and putting the 'crt0.o' from
> newlib there however puts the toolchain to work again, at least while
> building...

 Somewhere probably has been an official announcement for the newlib-1.10.0,
which appeared in 02.02.2002 (easy to remember?), but not here yet :-(.

 Wolfgang Fritz mentioned using it : "(building newlib-1.10.0 stops with
the same error)", so the clue to this problem with 'sh-elf' target and
gcc-3.0.3 was quite clear...

 The new newlib-1.10.0 has the missing 'setup_vararg_and_call_main' routine
in the 'newlib/libc/sys/sh/syscalls.c', so using newlib-1.10.0 with the
gcc-3.0.3 seems to be required...

 I apologize all my sarcasm about this problem...

Cheers, Kai


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]