In reading some mailing lists, I noticed some people pass in the -m32 flag when compiling to compile 32bit instead of 64bit... I added the flag to the Makefile and everything compiles except when I try to link all the objects into an executable, I get these errors:

/usr/bin/ld: warning: i386 architecture of input file `some.o' is incompatible with i386:x86-64 output

Is compiling this way possible at all?

Ted Unangst wrote:
On Mon, 29 Aug 2005, Stuart Henderson wrote:


--On 29 August 2005 16:34 -0500, Tony Lambiris wrote:


Is there a way to compile something on i386 OpenBSD box to run on
amd64? or is there a sysctl option I am missing?

Cross-compiling between architectures is not supported, see list archives for
reasons why.


that's not the question he was asking, but the answer is no anyway.


--
Tony Lambiris [ [EMAIL PROTECTED] ]
"so if it is really hard for you then perhaps you are just
retarded and need treatment w/ electricity and if that does
not help then perhaps should not use computers..."

Reply via email to