On Sunday 01 December 2002 00:55, Jan-Hendrik Palic wrote: > Hi .. > > I tried to build OOo with explicity exporting of CC/CXX to see, if libs > like freetype/libdb/libz etc etc are build with gcc-3.2/g++-3.2, too. > As Gerhard mentioned, the problem of the relocation error might be the > usage of gcc-3.2 with gcc-2.95 and the linkage together. > > But I got this: > cd builds/unix; ./configure > checking build system type... powerpc-unknown-linux-gnu > checking host system type... powerpc-unknown-linux-gnu > checking target system type... powerpc-unknown-linux-gnu > checking for gcc... "ccache gcc-3.2" > checking for C compiler default output... configure: error: C compiler > cannot create executables > make[1]: *** [unix-def.mk] Error 77 > make[1]: Leaving directory > `/mnt/develop/Debian/OpenOffice/package/openoffice.org-1.0.1/build-tree/oo_ >1.0.1_src/freetype/unxlngppc.pro/misc/build/freetype-2.0.5' dmake: Error > code 2, while making > './unxlngppc.pro/misc/build/so_configured' > > It seems, that configure cannot handle "ccache gcc-3.2" right in some > cases? Anyone knows, what happening here?
I have got the same problem, even without ccache. The configure doesn't like the double quotes. I have fixed it by just adding the following --- debian/rules.bak 2002-12-01 08:49:20.000000000 +0100 +++ debian/rules 2002-11-30 21:54:42.000000000 +0100 @@ -85,6 +85,7 @@ _CC=gcc-$(GCC3VER) CXX=g++-$(GCC3VER) export CXX + export CC=$(_CC) GCC3 := --enable-gcc3 ifeq "$(ARCHBUILDDIR)" "unxlngi3.pro" # Build directory is different for GCC3 The OOo configure still has its own export. Gerhard