Hi all,
When you "make install" the makefile runs IDCheck.sh. For
cross-compiled targets this is only valid if you're installing
directly to the actual filesystem which will be used on the embedded
target. Would it be worth forcing SKIP_IDCHECK=1if in a cross-compile
environment? Configure deduces this from whether "build_alias" !"=
"host_alias". I suspect this ought to be a run-time test - especially
given that I missed this on my first run and had lots of errors as a
result which wasn't clear :-D Is there any kind of validation for
system build (or kernel config!) prerequisites before running tests?
Would be sensible to do this before running tests rather than running
them and failing as a result (also relevent in the case of
memory-constrained tests that fail on embedded targets)
Side-note : I suspect there may be a cross-compile related error in
configure in "ltp-full-20100831". I've never dug deeply into configure
scripts but this looks inverted based on other similar parts of
configure :
if test x$cross_compiling = xyes; then
CROSS_COMPILATION_TRUE=
CROSS_COMPILATION_FALSE='#'
else
CROSS_COMPILATION_TRUE='#'
CROSS_COMPILATION_FALSE=
fi
Cheers,
~Pev
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list