[kaffe] what does --host mean
Sanjeev Manral
sanjeevm at sanyo.co.in
Mon Nov 18 22:44:36 PST 2002
Hi all,
I've a doubt -
what does the --host means?
e.g.
./configure --host=linux-powerpc --target=linux-powerpc
My PC is an intel(Pentium-II) PC with linux running on it. I've installed
cross compiler.
And I'm compiling for linux ppc405. My build is kaffe-1.0.7
theoritically --host means PC whwre you do ur compilation and target means
where u run ur build. so in my case my host should be i386-linux
eg-
./configure --host=linux-powerpc --target=linux-powerpc
and if donot give host option then it has to be guessed.
But when I'm not giving any host option or giving --host-i386-linux - I'm
getting an error while compilation in locks.c for COANPARE_AND_CHECK
/********************************ERROR LOG **************************/
In file included from
/opt/hardhat/devkit/ppc/405/bin/../target/usr/include/stdio.h:33,
from ../../config/config-std.h:14,
from locks.c:13:
/opt/hardhat/devkit/ppc/405/bin/../lib/gcc-lib/powerpc-hardhat-linux/2.95.3/
include/stddef.h:170: warning: empty declaration
In file included from
/opt/hardhat/devkit/ppc/405/bin/../target/usr/include/stdlib.h:391,
from ../../config/config-std.h:15,
from locks.c:13:
/opt/hardhat/devkit/ppc/405/bin/../target/usr/include/sys/types.h:106:
warning: empty declaration
locks.c: In function `getHeavyLock':
locks.c:122: inconsistent operand constraints in an `asm'
locks.c: In function `_lockMutex':
locks.c:487: inconsistent operand constraints in an `asm'
locks.c: In function `_unlockMutex':
locks.c:512: inconsistent operand constraints in an `asm'
make[3]: *** [locks.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
/*****************************************************************/
But, when I give --host=powerpc-linux. It compiles happily, but giviing
error while running kaffe-
gc-incremental.c : gcMaloc assert failure
could somebody make it clear, what does the --host mean? what is the
correct value for --host in my case?
Thanks in advance,
Regards
Sanjeev
More information about the kaffe
mailing list