delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/19/10:28:27

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
To: cygwin AT cygwin DOT com
From: "alexeik AT nordlines DOT ru" <alexeik AT nordlines DOT ru>
Subject: Re: Compiling memtest from sources on cygwin
Date: Sun, 19 Jun 2005 18:28:50 +0400
Lines: 56
Message-ID: <d93v2c$c6v$1@sea.gmane.org>
References: <d93n2t$rpe$1 AT sea DOT gmane DOT org> <42B5789F DOT 70201 AT hones DOT org DOT uk>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
In-Reply-To: <42B5789F.70201@hones.org.uk>
X-IsSubscribed: yes

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

Hi, Cliff.

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.  The
> others are `.section' (*note Section::), `.subsection' (*note
> SubSection::), `.pushsection' (*note PushSection::), and `.popsection'
> (*note PopSection::).
> 
>    This directive swaps the current section (and subsection) with most
> recently referenced section (and subsection) prior to this one.
> Multiple `.previous' directives in a row will flip between two sections
> (and their subsections).
> 
>    In terms of the section stack, this directive swaps the current
> section with the top section on the section stack.

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.

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

- Raw text -


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