delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/04/07:36:15

X-Spam-Check-By: sourceware.org
Message-ID: <36bf289b0601040436g1a9e16dduc44f9347f75a82e0@mail.gmail.com>
Date: Wed, 4 Jan 2006 18:06:04 +0530
From: Vijay Kiran Kamuju <infyquest AT gmail DOT com>
To: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Subject: Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610
Cc: cygwin AT cygwin DOT com
In-Reply-To: <1711208879216.20060104131526@familiehaase.de>
MIME-Version: 1.0
References: <36bf289b0601030256h58a1832erbda960cabbcab2e9 AT mail DOT gmail DOT com> <1731197412708 DOT 20060104100419 AT familiehaase DOT de> <36bf289b0601040235s1fb6ca37jaf9de5c7e84a159e AT mail DOT gmail DOT com> <1711208879216 DOT 20060104131526 AT familiehaase DOT de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k04CaEJa017880

<snip>
> #ifdef __EMX__
> /* Due to strange behaviour of as.exe we use this macros */
> /* For all OS/2 coders - please use PGCC to compile this code */
> #define PR_(foo) ___##foo
> #define PT_(foo,func) ___##foo,##func
> #define SIZE(sym)                              \
>                 .___end_##sym:;                        \
>                 .size ___##sym,.___end_##sym-___##sym; \
>                 .align 8;
> #else
> #define PR_(foo) __##foo
> #define PT_(foo,func) __##foo,##func
> #define SIZE(sym)                           \
>                 .__end_##sym:;                      \
>                 .size __##sym,.__end_##sym-__##sym; \
>                 .align 8;
> #endif
>
> So it may work without problems.
>
> If not try if it works when defining
> #if defined(__EMX__) || defined(__CYGWIN__)
> instead of
> #ifdef __EMX__
> at the beginning of this file and see if there are similar definitions
> at the beginning of other assembler files, it seems that EMX has the
> same problems.
>

still the same problems.

>
> > Well why do the following psuedo-ops fail with cygwin 'as.exe'
> > .type
> > .comm a,b,c
> > .size
>
> Should work to remove the lines.
Could you please tell(explain) me why these do not work under cygwin?
>
>
>
> Gerrit
> --
> =^..^=
>
>
Vijay


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