Date: Fri, 12 Aug 2005 17:34:27 +0200 From: Francois Tigeot <ftigeot@wolfpond.org> To: openoffice@freebsd.org Subject: Building OpenOffice on amd64 Message-ID: <20050812153427.GA91803@aoi.wolfpond.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, I tried to build openoffice-2.0-devel on a 6.0 beta/amd64 machine. It failed, as usual. However I managed to make it go longer with some patches and compiler magic. First, if you try to build it with the stock gcc-ooo, the build fails with relocations error in libstdc++.a. The gcc-ooo port must be build with support for dynamic libraries by defining the WANT_SHAREDLIBS option. The new shared libraries must then be added to the linker path by running ldconfig -m /usr/local/gcc-ooo/x86_64-portbld-freebsd6.0/3.4.1/lib The three included patches resolve the first build failures after that. I hope this will be usefull. -- Francois Tigeot, Zefyris http://www.zefyris.com/ [-- Attachment #2 --] --- solenv/inc/unxfbsdi.mk.orig Mon Jul 11 17:50:11 2005 +++ solenv/inc/unxfbsdi.mk Fri Aug 12 08:39:08 2005 @@ -91,11 +91,6 @@ # architecture dependent flags for the C and C++ compiler that can be changed by # exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build -.IF "$(GCCNUMVER)">="000300040000" -ARCH_FLAGS*=-mtune=pentiumpro -.ELSE -ARCH_FLAGS*=-mcpu=pentiumpro -.ENDIF # name of C++ Compiler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050812153427.GA91803>
