Compiling memtest from sources on cygwin

alexeik@nordlines.ru alexeik@nordlines.ru
Sun Jun 19 23:11:00 GMT 2005


Brian Dessent wrote:

> 
> You could probably get what you want by building a cross-binutils.  Get
> the binutils source and build with "./configure --host=i686-pc-cygwin
> --target=i686-pc-linux".  Then build memtest with "./configure
> --target=i686-pc-linux" which should cause it to use the
> 'i686-pc-linux-as' you just built instead of Cygwin's 'as' which doesn't
> grok ELF.  If memtest has more than just assembly files (i.e. C code
> too) you'd probably need to build a cross-gcc as well.  The whole
> crosscompiler business is better covered elsewhere, as it's not
> Cygwin-specific.
> 
> Brian
> 

Gerrit, Brian, thanks.

Now I got the idea. Actually, memtest is just a sample program, I wanted 
to know *how* can I write program, which can be loaded from floppy.
Now, I think, I know where to go next.

Thanks again,

Alexei


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list