Re: how to build 32-bit openjdk7 on x86_64

2007-12-06 Thread Ben Cheng
Sorry for not being clear in the original email. It is not as scary as it sounds. All the pre-installed libraries by IT on our x86_64 linux workstations are 32-bit, so I just grab a few extra ones (sound, freetype, ...) as described on the build-howto page. After that and the makefile hacks, I was

Re: how to build 32-bit openjdk7 on x86_64

2007-12-05 Thread Ben Cheng
On Nov 28, 2007 10:47 AM, Kelly O'Hair <[EMAIL PROTECTED]> wrote: > > If your adventure is to figure out how to build 32bit on a 64bit system, > please keep track > of what you had to do and we can document it, and have fun. ;^) > I have a four-file patch that enables me to do 32-bit build on 64-

Re: ccplus: warnings being trated as errors

2007-11-29 Thread Ben Cheng
The main culprit is some (newer) gcc distributions enables -Wwrite-strings by default. I found another place to hack in hotspot's makefile: hotspot/build/linux/makefiles/gcc.make: CFLAGS += $(VM_PICFLAG) CFLAGS += -fno-rtti CFLAGS += -fno-exceptions CFLAGS += -D_REENTRANT CFLAGS += -fcheck-new #

Re: how to build 32-bit openjdk7 on x86_64

2007-11-28 Thread Ben Cheng
> fix that. I'm not sure when this ARCH mess will ever be cleaned up, but > > the first step may be to stop using the spelling "ARCH" in the makefiles > > because of the confusion as to where it's used and what it means. > > (Getting ARCH from the environmen

how to build 32-bit openjdk7 on x86_64

2007-11-27 Thread Ben Cheng
Hi Folks, I am trying to build 32-bit openjdk7 from source under control/make, but I seem to have endless troubles picking up the right ARCH option. The source code is from the b23 snapshot. I started with make ARCH_DATA_MODEL=32 ALT_BOOTDIR=/usr/lib/jvm/java-6-sun ANT_HOME= FINDBUGS_HOME= It q