On 10 Jan 2004 at 20:14, Markus Gerwinski wrote:
Prof A Olowofoyeku (The African Chief) wrote:
What environment are you using to build? Perhaps the "c:/mingw" prefix is a problem.
I'm using msys. Usually it deals well with "c:/".
Attached is an amended version of the script that I use (I build under the Mingw + MSYS environment). The script is based on the output of "gcc -v" which shows the configure parameters that were used to build gcc.
Thanks! Could you give me some instructions on how to use the script? Where in my directory tree should I put it? Should I unpack the gpc and gcc tarballs in a certain manner before? (E.g. unpack gpc right into the gcc-3.2.1 dir tree or something?)
[...]
You can put the script anywhere in the "PATH". Mine is in the /mingw/bin directory. The procedure that I use is this: 1. untar the gcc sources 2. cd gcc-3.3.1/gcc/ 3. tar -zxvf /tmp/gpc-20030830.tar.gz 4. cd gpc-20030830/ && mv p .. && cd .. && rmdir gpc-20030830/ 5. cd .. 6. mkdir build/ 7. cd build/ 8. /mingw/bin/gpc-3.3.1-build.sh
If your Mingw and MSYS are correctly configured, this will work. And you can of course make a script out of these steps.
BTW: I never use the pristine gnu sources for gcc. I prefer to use the relevant "mingw special" version of the gcc sources, which are on the Mingw web site.
Finally, I use Windows 2000 or XP. I have no idea whether attempting to build under Windows 9x/Me will be problematic or not. Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/