Re: Compiling memtest from sources on cygwin

2005-06-19 Thread [EMAIL PROTECTED]
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-lin

Re: Compiling memtest from sources on cygwin

2005-06-19 Thread Brian Dessent
"Gerrit P. Haase" wrote: > Windows binary format differs from ELF. You need to port the program. In this case, memtest86 is a self-standing binary that you stick on a floppy and boot from, so it doesn't care what the OS is. But it appears that their build setup uses ELF-specific assembler direc

Re: Compiling memtest from sources on cygwin

2005-06-19 Thread Brian Dessent
"[EMAIL PROTECTED]" wrote: > And since cygwin works under Windows I suspect, that cygwin people setup > the 'as' program to support windows loader. Now I am thinking -- should > I go to linux, or stay with cygwin. Actually I need to write a small > program, which works on bare metall w/o any o/s.

Re: Compiling memtest from sources on cygwin

2005-06-19 Thread Gerrit P. Haase
[EMAIL PROTECTED] wrote: Thank you for prompt response. I have just installed my ancient copy of Fedora and there 'make all' of memtest works OK. I also found '.previous' in 'info as' (on cygwin): `.previous' === This is one of the ELF section stack manipulation directives. Th

Re: Compiling memtest from sources on cygwin

2005-06-19 Thread [EMAIL PROTECTED]
Cliff Hones wrote: Not really on topic, and a quick google finds this: http://docs.sun.com/app/docs/doc/817-5477/6mkuavhre?a=view so .previous is accepted by Sun's x86 assembler. I can't see any reference to .prefix in the Gnu assembler manual however (google for "gnu gas manual") - so I

Re: Compiling memtest from sources on cygwin

2005-06-19 Thread Cliff Hones
[EMAIL PROTECTED] wrote: > I try to make memtest86 from sources on cygwin and have the following > error: > > $ make > as -32 -o head.o head.s > head.s: Assembler messages: > head.s:623: Error: unknown pseudo-op: `.previous' > head.s:694: Error: can't handle non absolute segment in `ljmp' > head.

Compiling memtest from sources on cygwin

2005-06-19 Thread [EMAIL PROTECTED]
Hi, Gurus. I try to make memtest86 from sources on cygwin and have the following error: $ make as -32 -o head.o head.s head.s: Assembler messages: head.s:623: Error: unknown pseudo-op: `.previous' head.s:694: Error: can't handle non absolute segment in `ljmp' head.s:917: Error: unknown pseudo-op