This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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 build windres to run on OS X


On Sat, Jun 18, 2005 at 11:45:22AM -0700, Wenlin Institute wrote:
> Could anyone please explain how to build windres to run on OS X (or  
> Darwin)? I downloaded and installed binutils-2.16.1, which includes  
> windres.c, but windres is still not built or installed. The docs for  
> windres say:
> 
> "Warning: windres is not always built as part of the binary utilities,  
> since it is only useful for Windows targets."
> 
> What I'm trying to do is cross-compile the MS-Windows version of an  
> application, using a Macintosh. I've followed the instructions for  
> "Installing and Using the MinGW Cross-Compiler on Mac OS X" using  
> DarwinPorts

Try configuring binutils for the right target:
--target=i686-pc-mingw32.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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