Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: "alexeik AT nordlines DOT ru" Subject: Re: Compiling memtest from sources on cygwin Date: Sun, 19 Jun 2005 19:54:27 +0400 Lines: 25 Message-ID: References: <42B5789F DOT 70201 AT hones DOT org DOT uk> <42B58998 DOT 9ABB5D44 AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 In-Reply-To: <42B58998.9ABB5D44@dessent.net> X-IsSubscribed: yes 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/