This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to find out if a given gcc is a cross compiler?


Mike Frysinger wrote:
On Thursday 07 December 2006 11:21, Toralf Lund wrote:
I'm usually building on a Linux system, but would very much prefer the
method to be as portable as possible.

well, to be honest, a portable method would involve not caring whether you're cross-compiling
-mike
Indeed. And I'm trying not to, and are successful most of the time. Still, there are some weird cases where I need to know after all, and at least having special cases for cross compile or not to cross compile is at least a lot better than having separate setups for all targets, or all combinations of host and target.


- Toralf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]