Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199911162226.QAA03590@pluto.xraylith.wisc.edu> To: Steve Jorgensen cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: gcc/g77/gcj 2.95.2 for cygwin CD 1.0? In-Reply-To: Your message of "Tue, 16 Nov 1999 14:21:47 MST." <199911162121 DOT OAA16897 AT benson> Date: Tue, 16 Nov 1999 16:26:51 -0600 From: Mumit Khan Steve Jorgensen writes: > I need a version of the recent gcc 2.95.2 release compiled > to work with the cygwin CD directory layout. (Actually I only > want the fortran part, but ... :) > > Anyway, has someone already done this? If not, I don't mind > compiling it myself. Can it be done straight from the gcc > distribution file from gnu.org, or do I need a patch/special > configuration parameters. > > Any info is appreciated. > Suhaib Siddiqui had sent me the CD layout, but I just haven't had time to look at it yet. Few things I had forgotten to ask him, so I'll ask now: 1. What are the mount points guaranteed to be at installation time? (ie., is there a / that points to anything useful? Is there a /usr/include, /usr/bin? Or is everything in /bin). 2. Output of CD gcc: $ gcc -v $ gcc -print-search-dirs $ gcc -v -o hello.exe hello.c [ hello.c can be any old hello world program ] Given this, I can build a distribution -- if there's interest of course. So far, there hasn't been. My recommendation: - get the gcc-2.95.2 source distro - get x86-win32 patches from my site: ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/patches/ - build it: $ cd ~/src $ tar zxf /tmp/gcc-2.95.2.tar.gz $ cd gcc-2.95.2 $ patch -p1 -s < /tmp/gcc-2.95.2-x86-win32.diff The file gcc-2.95.2-x86-win32.diff is included in my patchset. $ mkdir /tmp/gcc-2.95.2-build $ cd /tmp/gcc-2.95.2-build $ ~/src/gcc-2.95.2/configure --prefix=/usr/local/gcc-2.95.2 \ --enable-languages=c,c++,f77,objc,java \ i686-cygwin Of course, you may want a different prefix, or the default (/usr/local). $ make $ make install This should work in theory, but I have no way to tell. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com