Building OpenOffice on amd64

Francois Tigeot ftigeot at wolfpond.org
Fri Aug 12 15:34:22 GMT 2005


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/
-------------- next part --------------
--- 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


More information about the freebsd-openoffice mailing list