gpc (MinGW) fails to compile

Prof A Olowofoyeku (The African Chief) chiefsoft at bigfoot.com
Fri Oct 20 16:08:35 CEST 2006


On 20 Oct 2006 at 14:53, Waldek Hebisch  wrote:

> Prof A Olowofoyeku wrote:
> > On 19 Oct 2006 at 16:01, Frank Kelly  wrote:
> > 
> > > Hi there,
> > > On attempting to compile Pascal code with gpc I get this message:
> > > 
> > > >> gpc -v -c my_alg_boolv2.p
> > > 
> > > Using built-in specs.
> > > Configured with: ../configure --with-gcc --with-gnu-ld --with-gnu-as
> > > --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads
> > > --disable-nls --enable-languages=pascal --disable-win32-registry
> > > --disable-shared --enable-sjlj-exceptions --without-x
> > > --enable-interpreter --enable-hash-synchronization Thread model:
> > > win32 gpc version 20051116, based on gcc-3.4.4 (mingw special) gpc1
> > > -v -iprefix c:/mingw/bin/mingw32/3.4.4/ my_alg_boolv2.p -quiet
> > > -dumpbase my_alg_boolv2.p -famtmpfile=C:\Temp/cckFaaaa.gpa -version
> > > -o C:\Temp/ccuabaaa.s gpc: installation problem, cannot exec `gpc1':
> > > No such file or directory
> > > 
> > > 
> > > ---------------------------------
> > > I have these installed:
> > > 
> > > gpc 20051116, based on gcc-3.4.4 (mingw special)
> > > gcc (GCC) 3.4.4 (mingw special)
> > > 
> > > I had thought that these two were meant to be compatible with each
> > > other?!!
> > 
> > Support for gcc-3.4.x under Windows was experimental at that point.
> > You'd be better off getting this (gcc-3.2.3 backend):
> > http://gnu-pascal.de/contrib/chief/win32/mingw32/gpc-20051116-with-
> > gcc.i386-pc-mingw32.tar.gz
> > 
> 
> I see now (on comp.lang.pascal.misc) that OP has also problem 
> with gcc-3.2.3.  I wonder if giving '/mingw' as a prefix is an optimal
> choice. Normaly I do not work on Windows, but recently I have installed
> gpc on Windows.  I did not have Windows binaries, so I cross-compiled it
> on Linux machine.  When I gave '/mingw' as a prefix and dropped compiled
> gpc into Mingw/Mysys tree I got similar errors. When I made a new
> version configured using 'c:/mingw' as a prefix the problems went away. 

As I said in the other mail, this has never been a problem, and is the 
same way that gcc is compiled. So if "/mingw" should be a problem for 
gpc, then it should also be a problem for gcc - which it clearly isn't.

This may very well depend on the version of Windows being used. Which 
version are you using?

Best regards, The Chief
--------
Prof. Abimbola A. Olowofoyeku (The African Chief) 
web:  http://www.greatchief.plus.com/






More information about the Gpc mailing list