* Linking libgcc with xgcc fails in build of trunk
@ 2011-11-23 0:12 Aran Clauson
2011-11-23 1:22 ` Jonathan Wakely
0 siblings, 1 reply; 3+ messages in thread
From: Aran Clauson @ 2011-11-23 0:12 UTC (permalink / raw)
To: gcc-help
All,
I'm trying to build trunk with C only on NetBSD 5.1. I've gotten to the point
where libgcc is built with xgcc and I get a failure when linking libgcc_s.so
with:
/usr/bin/ld: /usr/local/lib: No such file:
I replaced ld with echo to see the link line and /usr/local/lib is sent to the
linker as a file. In $(BUILD)/gcc/spec is a section with the following:
*link_libgcc:
%D /usr/local/lib
I tried removing this line, but the file is regenerated by the make system.
Since others have built and are building trunk, I assume that I have a
misconfiguration. I am using the same configuration options that successfully
built gcc-4.6.2. Any help is appreciated.
Aran
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linking libgcc with xgcc fails in build of trunk
2011-11-23 0:12 Linking libgcc with xgcc fails in build of trunk Aran Clauson
@ 2011-11-23 1:22 ` Jonathan Wakely
2011-11-23 5:16 ` Aran Clauson
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2011-11-23 1:22 UTC (permalink / raw)
To: Aran Clauson; +Cc: gcc-help
On 22 November 2011 22:09, Aran Clauson wrote:
> All,
>
> I'm trying to build trunk with C only on NetBSD 5.1. I've gotten to the point
> where libgcc is built with xgcc and I get a failure when linking libgcc_s.so
> with:
>
> /usr/bin/ld: /usr/local/lib: No such file:
>
> I replaced ld with echo to see the link line and /usr/local/lib is sent to the
> linker as a file. In $(BUILD)/gcc/spec is a section with the following:
>
> *link_libgcc:
> %D /usr/local/lib
>
> I tried removing this line, but the file is regenerated by the make system.
> Since others have built and are building trunk, I assume that I have a
> misconfiguration. I am using the same configuration options that successfully
> built gcc-4.6.2. Any help is appreciated.
Hi, I asked a couple of questions in my reply on the other list as well.
Listing the configure command you used will help people to help you.
GCC builds the C++ front end by default now, so without listing your
configure command it's not possible to see if you're doing it right.
My other question was NetBSD-specific and semi-rhetorical, but
confirms that I have built trunk on NetBSD 5.1 recently, but not
C-only.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linking libgcc with xgcc fails in build of trunk
2011-11-23 1:22 ` Jonathan Wakely
@ 2011-11-23 5:16 ` Aran Clauson
0 siblings, 0 replies; 3+ messages in thread
From: Aran Clauson @ 2011-11-23 5:16 UTC (permalink / raw)
To: jwakely.gcc; +Cc: gcc-help
> On 22 November 2011 22:09, Aran Clauson wrote:
>> All,
>>
>> I'm trying to build trunk with C only on NetBSD 5.1. I've gotten to the point
>> where libgcc is built with xgcc and I get a failure when linking libgcc_s.so
>> with:
>>
>> /usr/bin/ld: /usr/local/lib: No such file:
>>
>> I replaced ld with echo to see the link line and /usr/local/lib is sent to the
>> linker as a file. In $(BUILD)/gcc/spec is a section with the following:
>>
>> *link_libgcc:
>> %D /usr/local/lib
>>
>> I tried removing this line, but the file is regenerated by the make system.
>> Since others have built and are building trunk, I assume that I have a
>> misconfiguration. I am using the same configuration options that successfully
>> built gcc-4.6.2. Any help is appreciated.
>
>
> Hi, I asked a couple of questions in my reply on the other list as well.
>
> Listing the configure command you used will help people to help you.
>
> GCC builds the C++ front end by default now, so without listing your
> configure command it's not possible to see if you're doing it right.
>
> My other question was NetBSD-specific and semi-rhetorical, but
> confirms that I have built trunk on NetBSD 5.1 recently, but not
> C-only.
Johnathan,
The configuration parameters are:
../gcc-trunk/configure --enable-nls --prefix=/usr/local --enable-languages=c
--with-system-zlib --enable-shared --enable-__cxa_atexit --enable-long-long
--disable-libssp --enable-threads=posix --with-gmp=/usr/pkg --with-mpfr=/usr/pkg
--with-libiconv-prefix=/usr/pkg
Aran
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-23 3:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-23 0:12 Linking libgcc with xgcc fails in build of trunk Aran Clauson
2011-11-23 1:22 ` Jonathan Wakely
2011-11-23 5:16 ` Aran Clauson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).