This is the mail archive of the cygwin mailing list for the Cygwin 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: Compiling memtest from sources on cygwin


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/


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