delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/01/07:14:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47515001.FCA1BA10@dessent.net>
Date: Sat, 01 Dec 2007 04:13:53 -0800
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Failure in building GFortran on Cygwin
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0711292328360 DOT 1532 AT homepc> <474F61CD DOT 1060405 AT verizon DOT net> <20071130142008 DOT GX30894 AT calimero DOT vinschen DOT de> <47501D95 DOT 3030200 AT byu DOT net> <20071130145842 DOT GY30894 AT calimero DOT vinschen DOT de> <20071130213601 DOT GC24092 AT ednor DOT casa DOT cgf DOT cx> <20071201103155 DOT GZ30894 AT calimero DOT vinschen DOT de> <4751420F DOT F35239F3 AT dessent DOT net> <20071201120032 DOT GB30894 AT calimero DOT vinschen DOT de>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Corinna Vinschen wrote:

[ snip sensible explanation that I had actually ran into in the past and
then forgotten about ]

> > Or is pulluting the namespace with a macro called "timezone" too
> > hideous?  In that case we could try declaring it "extern long timezone
> > asm("_timezone");" in the header.
> 
> Erm... sorry if my lack of assembler inlining shows, but that really
> works?  If so, it looks like a rather elegant solution to me.  I'll give
> it a try.

Oops, I think it should be asm("__timezone") with two leading
underscores, as specifying the assembler name like this bypasses the
compiler automatically adding one.

Brian

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