public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Problems running CT-NG
@ 2012-03-31 18:52 Michael Eager
  2012-03-31 20:29 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Eager @ 2012-03-31 18:52 UTC (permalink / raw)
  To: crossgcc

I've been having problems using the repository version
of crosstools-ng, so I downloaded the latest release,
crosstools-ng-1.14.1.  I'm having similar problems.

I've tried to build the samples armeb-unknown-linux-uclibcgnueabi
and armeb-unknown-linux-gnueabi.   I made two small changes to the
config:  point to a tarball directory and eliminate building debugging
tools.

I get the same build failure that I'm seeing with the repo version.
[ALL  ]    /usr/bin/ld: cannot find -lstdc++
...
[ERROR]  >>  Build failed in step 'Installing static core C compiler'

This is clearly the result of the link being done with this option:
    -Wl,-Bstatic,-lstdc++,-Bdynamic

Can someone tell me what, if anything, I'm doing incorrectly?
I expected that the samples would build, but that does not seem
to be the case.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems running CT-NG
  2012-03-31 18:52 Problems running CT-NG Michael Eager
@ 2012-03-31 20:29 ` Yann E. MORIN
  2012-03-31 21:24   ` Michael Eager
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2012-03-31 20:29 UTC (permalink / raw)
  To: crossgcc; +Cc: Michael Eager

Michael,

On Saturday 31 March 2012 20:52:27 Michael Eager wrote:
> I've been having problems using the repository version
> of crosstools-ng,

What kind of problems?

> so I downloaded the latest release,
> crosstools-ng-1.14.1.  I'm having similar problems.
> 
> I've tried to build the samples armeb-unknown-linux-uclibcgnueabi
> and armeb-unknown-linux-gnueabi.   I made two small changes to the
> config:  point to a tarball directory and eliminate building debugging
> tools.
> 
> I get the same build failure that I'm seeing with the repo version.
> [ALL  ]    /usr/bin/ld: cannot find -lstdc++
> ...
> [ERROR]  >>  Build failed in step 'Installing static core C compiler'
> 
> This is clearly the result of the link being done with this option:
>     -Wl,-Bstatic,-lstdc++,-Bdynamic
> 
> Can someone tell me what, if anything, I'm doing incorrectly?
> I expected that the samples would build, but that does not seem
> to be the case.

You need to install the 'development' package that contains the static
version of libstdc++. On debian, this is 'libstdc++6.4.4-dev' (or another
version string, depending on your debian version, of course). For other
distros, probably a package ending in -devel, or the likes.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems running CT-NG
  2012-03-31 20:29 ` Yann E. MORIN
@ 2012-03-31 21:24   ` Michael Eager
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Eager @ 2012-03-31 21:24 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

On 03/31/2012 01:28 PM, Yann E. MORIN wrote:
>> I get the same build failure that I'm seeing with the repo version.
>> [ALL  ]    /usr/bin/ld: cannot find -lstdc++
>> ...
>> [ERROR]>>   Build failed in step 'Installing static core C compiler'
>>
>> This is clearly the result of the link being done with this option:
>>      -Wl,-Bstatic,-lstdc++,-Bdynamic
>>

> You need to install the 'development' package that contains the static
> version of libstdc++. On debian, this is 'libstdc++6.4.4-dev' (or another
> version string, depending on your debian version, of course). For other
> distros, probably a package ending in -devel, or the likes.

Thanks.  On Fedora, the package is libstdc++-static.
Perhaps this should be either in the sanity checks at the start
or in the Known Issues file.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-31 21:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-31 18:52 Problems running CT-NG Michael Eager
2012-03-31 20:29 ` Yann E. MORIN
2012-03-31 21:24   ` Michael Eager

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).