public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building cross compiler for arm-elf
@ 2006-06-02 17:34 Flop Bucket
  2006-06-03 23:25 ` Richard Earnshaw
  0 siblings, 1 reply; 2+ messages in thread
From: Flop Bucket @ 2006-06-02 17:34 UTC (permalink / raw)
  To: gcc-help

Hi,

I am trying to build a gcc cross compiler for target arm-elf.  I am building 
on linux.

It works fine for most of the build, but fails when trying to make libstdc++ 
with the following:

...
checking for additional debug build... no
checking for extra compiler flags for building...
configure: WARNING: No native atomic operations are provided for this 
platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: error: No support for this host/target combination.
make: *** [configure-target-libstdc++-v3] Error 1


I am building in a different directory then the source, etc., as is 
recommended and have generally been following the information at 
http://venus.billgatliff.com/node/18, but I can't seem to get around this 
problem.

Using the following versions:


binutils-2.16    gcc-3.4.6   newlib-1.12.0

binutils seems to build fine.  I am using gcc-3.4.6 because I will need to 
eventually link with libraries supplied by a vendor built with that same 
version of the compiler (not sure how compatbile libaries built with 
different versions of gcc are, thought I would be safe here and use the same 
one)

Any help greatly appreciated.

Thanks

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

* Re: Building cross compiler for arm-elf
  2006-06-02 17:34 Building cross compiler for arm-elf Flop Bucket
@ 2006-06-03 23:25 ` Richard Earnshaw
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Earnshaw @ 2006-06-03 23:25 UTC (permalink / raw)
  To: Flop Bucket; +Cc: gcc-help, Richard.Earnshaw

On Fri, 02 Jun 2006 13:34:01 EDT, "Flop Bucket" wrote:
> Hi,
> 
> I am trying to build a gcc cross compiler for target arm-elf.  I am building 
> on linux.
> 
> It works fine for most of the build, but fails when trying to make libstdc++ 
> with the following:
> 
> ...
> checking for additional debug build... no
> checking for extra compiler flags for building...
> configure: WARNING: No native atomic operations are provided for this 
> platform.
> configure: WARNING: They cannot be faked when thread support is disabled.
> configure: WARNING: Thread-safety of certain classes is not guaranteed.
> configure: error: No support for this host/target combination.
> make: *** [configure-target-libstdc++-v3] Error 1
> 

You need to add --with-newlib to your configure command.

R.


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

end of thread, other threads:[~2006-06-03 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 17:34 Building cross compiler for arm-elf Flop Bucket
2006-06-03 23:25 ` Richard Earnshaw

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