'.exe' in output file

Sangmoon Kim dogoil@etinsys.com
Wed Aug 28 04:32:00 GMT 2002


Hi,
It worked well on gcc-2.95.3.
I've been using the gcc on cygwin for about a year with no problem.
But I don't know about it on gcc-3.0.2
If you plan to compile linux kernel, It is said that gcc-2.95.3 is better.
- Sangmoon Kim -

----- Original Message ----- 
From: "Dan Kegel" <dank@kegel.com>
To: "Sangmoon Kim" <dogoil@etinsys.com>
Cc: "Xiao Shi" <xshi@ixiacom.com>; <crossgcc@sources.redhat.com>
Sent: Wednesday, August 28, 2002 5:32 PM
Subject: Re: '.exe' in output file


> Yeah, we gathered something like that would work, but
> we can't figure out why that is having any effect on
> a cross-compiler.  Shouldn't that only affect a native 
> cygwin compiler, not one that targets linux?
> 
> It'd be cool to find the real fix.
> - Dan
> 
> Sangmoon Kim wrote:
> > 
> > Hi,
> > Just comment out the EXECUTABLE_SUFFIX macro in
> > gcc/config/i386/xm-cygwin.h and rebuild gcc.
> > 
> > ----- Original Message -----
> > From: "Xiao Shi" <xshi@ixiacom.com>
> > To: <crossgcc@sources.redhat.com>
> > Sent: Wednesday, August 28, 2002 3:15 AM
> > Subject: '.exe' in output file
> > 
> > > Hi:
> > >    I am building a cross compiler for power pc 750 on cygwin.  But by using
> > > the -o option in gcc, the executable file will always have a '.exe' append
> > > to it.  Does anyone know how I can get rid of it?
> > >    I already know that '.exe' is caused by gcc/config.gcc when it was ran by
> > > configure.  My configure line looks like this     ../gcc-3.0.2/configure
> > > --target=powerpc-linux --host=i686-pc-cygwin --build=$BUILD=i686-pc-cygwin
> > > --prefix=/opt/hardhat/devkit/ppc/7xx
> > > --with-headers=/opt/hardhat/devkit/ppc/7xx/target/usr/include
> > > --enable-shared --enable-long-long --enable-threads=posix
> > > --enable-langugages=c,c++ -enable-cxx-flags="" --with-cpu=750.  Should I
> > > include another --option.  Thanks
> > > Kent Shi
> > >
> > > ------
> > > Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> > > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
> > >
> > >
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
> 
> 


More information about the crossgcc mailing list