[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross-compiling but keeping one target native
From: |
Ben Pfaff |
Subject: |
Re: cross-compiling but keeping one target native |
Date: |
Mon, 17 May 2010 15:55:10 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Natalie Tasman <address@hidden> writes:
> I have one target which is actually a utility used during *build*
> time. Is it possible to specify one target which should *not* be built
> with the cross-compiler, but natively instead?
I find that the easiest way to deal with this problem is to avoid
it, by writing build-time tools in a language such as shell,
Python, Perl, or awk that doesn't need to be compiled at all. If
the utility is simple, so that you could easily rewrite it in a
different language, then you might consider that solution.
--
Ben Pfaff
http://benpfaff.org