kaffe configure bug
Patrick Tullmann
tullmann at cs.utah.edu
Mon Feb 21 15:04:23 PST 2000
Kaffe's configure script resets 'cross_compiling' in the GCJ option
test code.
Some background (as I understand things): Kaffe's configure script is
supposed to honor the KAFFEH environment variable if Kaffe is being
cross-compiled (it uses KAFFEH instead of the cross-compiled kaffeh to
build .h files). The configure script checks the 'cross_compiling'
variable to determine this. The OSKit config.frag explicitly sets
'cross_compiling'.
The problem is that the GCJ configure test magic is unsetting
'cross_compiling' for some reason (the AC_PROG_CXX?). If I configure
for the OSKit with '--disable-gcj' then the compile proceeds just fine
(it uses $KAFFEH), if I do not explicitly disable GCJ support, the
magic in that part of configure.in ends up unsetting cross_compiling,
and I can't build Kaffe.
I'm not sure what the real problem is, or how to fix it. I don't have
a problem disabling GCJ support, just a heads up. I do not know if
other cross-compiler envs have this problem.
This is from an early February Kaffe CVS snapshot. I haven't upgraded
(and won't) because I understand that recent libtool changes break
Kaffe on FreeBSD.
I tried to submit a bug report but the submission bounced.
-Pat
----- ----- ---- --- --- -- - - - - -
Pat Tullmann tullmann at cs.utah.edu
Your research fills a much needed gap.
More information about the kaffe
mailing list