On 11/03/11 19:12, Rainer Orth wrote:
> Bernd Schmidt <ber...@codesourcery.com> writes:
> 
> [Trimming the Cc: list.]
> 
>> On 11/03/11 18:01, Rainer Orth wrote:
>>> Bernd Schmidt <ber...@codesourcery.com> writes:
>>>> A cross environment for -elf targets typicaly just requires building up
>>>> binutils/newlib, and that should be rather quick to set up. A set of
>>>
>>> Maybe in theory, but for the case at hand, a c6x-elf configuration with
>>> binutils from the top of the binutils 2.22 branch fails to configure
>>> libgcc:
>>>
>>> checking whether to use setjmp/longjmp exceptions... unknown
>>> configure: error: unable to detect exception model
>>> make[1]: *** [configure-target-libgcc] Error 1
>>
>> That does not appear to be happening here, neither with 2.22 nor CVS
>> head. Please verify how you configured and built binutils and gcc.
> 
> Nothing unusual AFAICS:
> 
> $ /vol/src/gnu/binutils/binutils-2.22-branch/configure 
> --prefix=/var/gcc/c6x-elf --target c6x-elf
> $ PATH=/var/gcc/c6x-elf/bin:$PATH /vol/gcc/src/hg/trunk/local/configure 
> --target c6x-elf --with-gmp=/vol/gcc --without-ppl --without-cloog 
> --enable-languages=c --with-gnu-as --with-as=/var/gcc/c6x-elf/bin/c6x-elf-as 
> --with-gnu-ld --with-ld=/var/gcc/c6x-elf/bin/c6x-elf-ld
> 
> All on x86_64-unknown-linux-gnu.

I've tried again on x86_64, still no such failure. Are you quite sure
the binutils directory is up-to-date? (Try a clean checkout with CVS).

You can drop most of the gcc configure options if the tools are in your
path.



Bernd

Reply via email to