autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where did the Cygwin and Mingw checks go?


From: Ralf Corsepius
Subject: Re: Where did the Cygwin and Mingw checks go?
Date: Mon, 20 Nov 2000 05:45:02 +0100

Alexandre Oliva wrote:
> 
> On Nov 17, 2000, Eric Christopher <address@hidden> wrote:
> 
> > So a solaris cross cygwin compiler would define EXEEXT to be .exe,
> > however, OBJEXT would be .o because it was compiled on a solaris
> > box.
> 
> I suppose a compiler that targets Cygwin will create .obj object files
> regardless of its host platform.  I.e., when using a Cygwin compiler
> (such that --host=cygwin), you'd get OBJEXT=.obj, regardless of the
> build platform, on which the compiler runs.

Hmm, I don't think so.

# uname
Linux

# /opt/cygwin/bin/i386-pc-cygwin-gcc -c hello.c
# ls 
hello.c hello.o

# /opt/cygwin/bin/i386-pc-cygwin-gcc hello.c
# ls
a.exe hello.c

# /opt/cygwin/bin/i386-pc-cygwin-gcc --version
2.95.2-5

Ralf.

-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:address@hidden           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]