Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Originating-IP: [203.200.20.226]
X-Originating-Email: [mohanlaljangir@hotmail.com]
X-Sender: mohanlaljangir@hotmail.com
From: "mohanlal jangir" <mohanlaljangir@hotmail.com>
To: <gcc@gcc.gnu.org>
Cc: <cygwin@cygwin.com>
Subject: cygwin windows to linux cross compiler issues !!
Date: Wed, 3 Dec 2003 14:51:31 +0530
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Message-ID: <Law11-OE3643S3Iouk4000014f7@hotmail.com>
X-OriginalArrivalTime: 03 Dec 2003 09:22:37.0546 (UTC) FILETIME=[FE07FCA0:01C3B97E]

I could succeed to build cygwin windows to linux cross compiler. Binaries
seems to be almost ok as I am able to compile many applications perfectly.
While cross compiling linux kernel, I encountered one problem:

I used to get some errors from Assermber like "Error: junk `adcl $0xffff'
after register". For looking into this, I compiled those files
with -save-temp option and edited .s files. In .s files the section #APP
seems to have some problem. I found that all assembaly instruction are in
single line, which is casuing assember to give error.

#APP
   addl 16(%esp), %eax    adcl 12(%esp), %eax    adcl %edx, %eax    adcl $0,
%eax
#NO_APP

When I changed above code to
#APP
   addl 16(%esp), %eax
   adcl 12(%esp), %eax
   adcl %edx, %eax
   adcl $0, %eax
#NO_APP

I could compile the .s file into .o successfully. This seems to be dos/unix
file format issue, which has not been take care.
Is there some easy way to get around this problem or I have to rebuild tool
chain.

Regards
Mohanlal

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

