delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/03/23:21:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Originating-IP: [203.200.20.226]
X-Originating-Email: [mohanlaljangir AT hotmail DOT com]
X-Sender: mohanlaljangir AT hotmail DOT com
From: "mohanlal jangir" <mohanlaljangir AT hotmail DOT com>
To: "Andrew Markebo" <andrew DOT markebo AT comhem DOT se>
Cc: <cygwin AT cygwin DOT com>, <gcc AT gcc DOT gnu DOT org>
References: <Law11-OE3643S3Iouk4000014f7 AT hotmail DOT com> <m3ptf5g1k4 DOT fsf AT flognat DOT myip DOT org>
Subject: Re: cygwin windows to linux cross compiler issues !!
Date: Thu, 4 Dec 2003 09:47:34 +0530
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Message-ID: <Law11-OE67yZqoG8Zy400001fbb@hotmail.com>
X-OriginalArrivalTime: 04 Dec 2003 04:18:45.0925 (UTC) FILETIME=[B58D2550:01C3BA1D]

I remember, during cygwin installation I clicked dos. But I don't know how
to change this now. I hope there should be some way to do this without
reinstalling cygwin. I have installed cygwin in my E: drive and mount gives
following output:

$ mount
E:\cygwin\bin on /usr/bin type system (textmode)
E:\cygwin\lib on /usr/lib type system (textmode)
E:\cygwin on / type system (textmode)
c: on /cygdrive/c type user (textmode,noumount)
d: on /cygdrive/d type user (textmode,noumount)
e: on /cygdrive/e type user (textmode,noumount)
m: on /cygdrive/m type user (textmode,noumount)

I think, the textmode is causing problem. How to get rid of this?

Regards
Mohanlal

> Well run with unix-newlinemode on the filesystem you compile the files
> on and /tmp, hmm binmode if my mind doesn't fail. type mount and see
> what it says.
>
> Did you click dos or unix during install.
>
>      /A
>
>
>
> / "mohanlal jangir" <mohanlaljangir AT hotmail DOT com> wrote:
> | 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
> |
>
> --
>   "We are all in the gutter, but some of us are looking at the stars"
>       Oscar Wilde
>
>

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