Alexandre Oliva wrote:
> 
> On Nov 17, 2000, Eric Christopher <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de

Reply via email to