This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: latest version of gcc?




Christopher Faylor wrote:

> On Sat, Dec 16, 2000 at 09:26:23AM -0800, Steve Kelem wrote:
> 
>> I looked around the cygwin site and couldn't find an obvious answer to 
>> this question....
>> 
>> What's the latest version of gcc that I should be using with the latest 
>> cygwin (1.1.6)?
>> 
>> The Cygwin page has a "more software" link that points to gcc.2.95.2
>> that was built in 1999.  Is that the latest one that I should be using?
> 
> 
> I don't understand the question.  We include a version of gcc when you
> install cygwin.  Why would you assume that this version was incorrect?

Because of the problems I'm having compiling the perl module 
Compress-Zlib 1.08 and because the cygwin page
(http://sources.redhat.com/cygwin/ported.html) lists a port of gcc2.95.2 
(ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/).   
(If this isn't a good compiler, please let me know, let me know how to 
uninstall it, how to install the proper one, and update your web page. 
For now, I'll assume it's the correct compiler, even though it installed 
into /H-i586-cygwin32/bin, and not /bin.)

For some reason, cpp complains about an option (-remap) that isn't on 
the command line or in the makefile and eventually runs out of 
processes.  I've tried running the gcc line standalone and I get the 
same effect, so the Makefile isn't causing the problem..
(I searched my system for multiple cygwin*.dll's and found only the 
correct one.)

% make | & tee Make.out
mkdir blib
mkdir blib/lib
mkdir blib/lib/Compress
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Compress
mkdir blib/arch/auto/Compress/Zlib
mkdir blib/lib/auto
mkdir blib/lib/auto/Compress
mkdir blib/lib/auto/Compress/Zlib
mkdir blib/man3
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin 
-I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  
-typemap /usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap 
Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include 
-DUSEIMPORTLIB -O  -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"  
-I/usr/local/lib/perl5/5.6.0/cygwin/CORE  Zlib.c
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'

Thanks for your help,
Steve Kelem


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]