How can I compile binutils for i686-pc-cygwin under Linux?

Nick Clifton nickc@redhat.com
Fri Apr 18 07:44:00 GMT 2003


Hi Antonio,

> 	I want to rebuild binutils package for cygwin.

Which version of binutils are you using ?  If it is not the latest
release (2.13.2) then try updating your sources.

> I've tried to configure and built them under cygwin, configuration
> seemd to be good but make failed.

How did the make fail ?  Have you checked the Cygwin FAQ to see if the
problem is mentioned there ?

        http://cygwin.com/faq/

> So I decided to move under Linux to try a cross compiling. The make
> worked but the result was that all the bin files were in ELF format.

How did you configure the build ?  It should have been something like
this:

   <path-to-binutils-sources>/configure --target=i686-pc-cygwin


Cheers
        Nick



More information about the Binutils mailing list