Hi all,
Apologies for the newbie question but... I'm having problems installing and compiling GPC under Cygwin32
I've got a nice clean cygwin installation, downloaded the gcc-2.95.2 source and the gpc source and, after several trials and tribulations relating to include paths, patch files and so on, make gets as far as:
cd p/rts && \ CC="`echo /usr/local/src/build/gcc/xgcc -B/usr/local/src/build/gcc/ -B/usr/local/i686-pc-cygwin32/bin/ -I/usr/local/i686-pc-c ygwin32/include' ' | sed -e 's,-B([^/][^:]),-B../../\1,g;s,^([^/][^:]),../../\1,'`" PC="`echo ./xgpc -B./' ' | sed -e 's, -B([^/][^:]),-B../../\1,g;s,^([^/][^:]),../../\1,'`" CONFIG_SITE=nonexisting-file \ $src/p/rts/configure --silent > /dev/null --srcdir=$src/p/rts \ `if [ x@with_shared@ = xyes ]; then echo '--with-shared'; fi`
configure: error: installation or configuration problem: C compiler cannot create executables. make[1]: *** [p/rts/Makefile] Error 1 make[1]: Leaving directory `/usr/local/src/build/gcc' make: *** [all-gcc] Error 2
Any suggestions as to why GCC appears to be fritzed? Is it Cygwin's gcc that is at fault here, or somethig generated while making gpc?
Any help would be appreciated.