gcc/g77/gcj 2.95.2 for cygwin CD 1.0?
Tue Nov 16 14:27:00 GMT 1999
Steve Jorgensen <firstname.lastname@example.org> 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.
- get the gcc-2.95.2 source distro
- get x86-win32 patches from my site:
- 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 \
Of course, you may want a different prefix, or the default (/usr/local).
$ make install
This should work in theory, but I have no way to tell.
Want to unsubscribe from this list?
Send a message to email@example.com
More information about the Cygwin