Is there a way to Cross Compile from i386 to x86_64.

Hi,

I develop applications in Linux with a i386 arquitecture, but the actual production machine is going to change and became a Dual Core AMD x86_64. Is there a way to cross compile in my computer wihtout having to go to the production machine and compile there all the code?

Regards,

Pedro

[315 byte] By [Sampa] at [2007-10-2 14:59:40]
# 1
Java bytecode is inherently platform portable.
tschodta at 2007-7-13 13:44:44 > top of Java-index,Developer Tools,Java Compiler...
# 2

> Java bytecode is inherently platform portable.

Obviously.

The point is not portability.

One can compile in any platform as long as the target one contains a JRE.

My point is that I want to compile with the x86_86 SDK in the i386 platform.

I might be wrong, but it seems to me that this could be an optimization ... far more suited and specific to a server platform ...

If so is this the case?

Is this possible?

Regards,

Pedro

Sampa at 2007-7-13 13:44:44 > top of Java-index,Developer Tools,Java Compiler...
# 3
Read my post again.> Java bytecode is inherently platform portable.The SDK compiler [javac] produces equivalent bytecode regardless of what platform you compile on. Platform specific optimisation happens in the JVM at runtime.
tschodta at 2007-7-13 13:44:44 > top of Java-index,Developer Tools,Java Compiler...