avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] --target vs. --host when building AVR toolchain?


From: Rolf Magnus
Subject: Re: [avr-chat] --target vs. --host when building AVR toolchain?
Date: Sun, 30 Apr 2006 16:30:04 +0200
User-agent: KMail/1.9.1

On Sunday 30 April 2006 09:30, Rick Mann wrote:

> Which is the preferred thing to use?

That depends on what you want to do. Use --host to specify which architecture 
the compiler is supposed to run under and --target to specify the 
architecture that it should genate code for.

> Does it make sense to use both? 

It might, e.g. if you want to build a gcc under linux that should later be 
executed under cygwin and generate avr code.

> I've been using --target=avr, but when I tried to build libc-1.4.4,
> it complained and suggested I use --host instead. That seemed to work.

A compiler and a library are two different things. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]