[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sparc build with gcc4.0 and java-gcj-compat



Hi Rene

I just built all modules of OOB680_m5 upstream sources using debian/unstable
versions of gcc-4.0, gcj-4.0, java-gcj-compat and ant on a sunblade 100 with
256mb ram.

The configure flags used were 
--enable-build-mozilla
--with-ant-home=/usr

The details are here:
http://wiki.services.openoffice.org/wiki/GNULinuxSparcPorting#Building_with_debian.2Funstable_gcc4.0.2Fgcj

Briefly, two issues that might be sparc related were:

(a) disabled compiling gcc shared libs from jars (javacache).

(b) ignored errors pre-registering java components

Issue (a) might be fixed with more ram. There is a fix for (b) that works
with gcc4.1 but for not gcc-4.0

javacache makes a series of assembler files in /tmp which are appended to
one large assembler file in /tmp approx 10x the size of the corresponding
jar, this process needs about 1gb ram+swap and is very slow.

jim
sparcmoz@openoffice.org



Reply to: