On Fri, Jan 11, 2008 at 08:03:49AM -0800, Private Joker wrote: > I am trying to compile GCC 4.2 from ports, and I keep > getting the same error... with OpenBSD 4.2 and current > as well. > checking whether the C compiler > (/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc > -O2 -g ) works... no > configure: error: installation or configuration > problem: C compiler cannot create executables. > *** Error code 1 > > Stop in /usr/ports/lang/gcc/4.2 (line 2057 of > /usr/ports/infrastructure/mk/bsd.port.mk).
What's in the config.log ? This usually happens when GCC is called by the configure script with erroneous options e.g., in CFLAGS. -- Olivier Mehani <[EMAIL PROTECTED]> PGP fingerprint: 3720 A1F7 1367 9FA3 C654 6DFB 6845 4071 E346 2FD1 [demime 1.01d removed an attachment of type application/pgp-signature]