delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/19/09:52:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42B5789F.70201@hones.org.uk>
Date: Sun, 19 Jun 2005 14:52:31 +0100
From: Cliff Hones <cliff AT hones DOT org DOT uk>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: "alexeik AT nordlines DOT ru" <alexeik AT nordlines DOT ru>
CC: cygwin AT cygwin DOT com
Subject: Re: Compiling memtest from sources on cygwin
References: <d93n2t$rpe$1 AT sea DOT gmane DOT org>
In-Reply-To: <d93n2t$rpe$1@sea.gmane.org>
X-Spam-Score: -0.9 (/)
X-IsSubscribed: yes

alexeik AT nordlines DOT ru 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.s:917: Error: unknown pseudo-op: `.previous'
> head.s:923: Error: unknown pseudo-op: `.previous'
> head.s:929: Error: unknown pseudo-op: `.previous'
> make: *** [head.o] Error 1
> 
> I suspect, that this is not right forum to ask, but I do not know where
> to look for the answer. My question is: what is '.previous' pseudo-op,
> and where should I look for assembler (GNU?) documentation.

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 guess the memtest86
people may well be using Sun's.

Since .previous just reselects the previous section  it wouldn't
be difficult to edit the source (head.S) to manually reselect
the section.

BTW - the makefile uses head.s and head.S as separate files - so
to work under Cygwin you will need to use a managed mount.

-- Cliff

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019