This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: How to build windres to run on OS X
On Sat, Jun 18, 2005 at 03:23:35PM -0700, Wenlin Institute wrote:
> cd /binutils-2.16.1
> ./configure --target=i686-pc-mingw32
>
> -- that seems to run OK, but then when I ran "make", here is what
> appeared:
Create a new clean source directory. Start from scratch.
> I don't really understand the meaning of "target" here. I'm trying to
> compile windres on OS X, so that I can run windres on OS X. Doesn't
> that mean the "host" and "target" are both OS X? Notwithstanding the
> fact that windres itself will be used to compile an application that
> will run on MS-Windows?
No. Compile on is --build, run on is --host, generate code for is
--target.
--
Daniel Jacobowitz
CodeSourcery, LLC