OpenBSD build

G. Ramalho g_ramalho at
Mon Sep 15 08:04:23 CEST 2008


I'm trying to build GPC on my OpenBSD box.
xgcc seems to be correctly built but I can't get past the following:

CC="`echo /root/gpc-build/gcc/xgcc -B/root/gpc-build/gcc/ 
-B/usr/local/i386-unknown-openbsd4.3/lib/ -isystem 
/usr/local/i386-unknown-openbsd4.3/include' ' | sed -e 
PC="`echo ./xgpc -B./' ' | sed -e 
CONFIG_SITE=nonexisting-file \
$src/p/rts/configure --silent > /dev/null --srcdir=$src/p/rts \
 `if [ x at with_shared@ = xyes ]; then echo '--with-shared'; fi`
configure: error: installation or configuration problem: C compiler 
cannot create executables.
gmake[1]: *** [p/rts/Makefile] Error 1
gmake[1]: Leaving directory `/root/gpc-build/gcc'
gmake: *** [all-gcc] Error 2

OS: OpenBSD 4.3 / i386 (VMWare).
GCC/GPC : 3.3.5 / 20060325

Any help is really appreciated.


More information about the Gpc mailing list