This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Link tests after GCC_NO_EXECUTABLES
- From: Bernd Schmidt <bernds_cb1 at t-online dot de>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Jie Zhang <jzhang918 at gmail dot com>, gcc at gcc dot gnu dot org, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 Nov 2007 23:10:02 +0100
- Subject: Re: Link tests after GCC_NO_EXECUTABLES
- References: <46EFBCC1.6070200@gmail.com> <46EFC383.7020503@t-online.de> <46EFC9E9.7090201@gmail.com> <46EFCEF9.3060304@t-online.de> <46EFCF7A.2080704@gmail.com> <46EFD236.6080907@t-online.de> <46EFDA4D.3070006@gmail.com> <474C0C52.8050503@t-online.de> <474C8FA4.2040603@codesourcery.com>
Mark Mitchell wrote:
> Bernd Schmidt wrote:
>
>> I've committed the following to take care of this. Neither -mfdpic nor
>> -mid-shared-library are actually useful with bfin-elf toolchains, but by
>> making them imply -msim, we can at least get these kinds of configure
>> test executables to link.
>
> My impression was that we'd developed the consensus that generic ELF
> ports should not have a default board. (IIRC, Power and MIPS are like
> that; if you don't say -msim explicitly, you get a link error.)
>
> If -mfdpic doesn't make sense for Blackfin, shouldn't it just be an
> error? Why accept it, but make it imply the simulator?
Because all the target libraries fail to build if the configure tests
don't link.
Bernd
--
This footer brought to you by insane German lawmakers.
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif