On Wed, 2007-08-15 at 03:28 -0500, Burger, Karsten wrote:
> Hello, 
> I am trying to compile OpenOffice 2.2 on a Redhat EL 5 Intel machine as a 
> 32-bit application (using compiler option -m32).
> 
> Some platform informations:
> 
> uname -a: 
> Linux socbl003 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 
> x86_64 GNU/Linux
> 
>  
> /proc/cpuinfo:
> vendor_id          : GenuineIntel
> model name      : Intel(R) Xeon(R) CPU            5160  @ 3.00GHz
>  
> 
> 
> I tried the compile in this way:
> 
> * Copied source code OOF680_m18 to directory /OO_mix/OOF680_m18.
> $ export SRC_ROOT=/OO_mix/OOF680_m18
> $ export CXX="g++ -m32"
> $ export CCC="gcc -m32"

The build still thinks its being compiled for an x86_64 target, not a
i386 one, even though the compiler is forced into 32bit output. You'll
know you have started correctly if you have a LinuxX86Env.Set.sh not
LinuxX86-64Env.Set.sh. Try using "linux32" to set your initial
environment, use uname -m to verify the difference this makes to the
arch reported to apps, and then try the above.

C.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to