I began trying all the configuration possibilities for cross-compiling including the various SDK and Builders.
Beginning to say that the only normal compilation of the Opens Environment like KDE, Gnome, GTK+ it' s a big trick, the Cross-Compilation resulted for me only on a big configure-Makefile hack training.
But finally i got to a good compromise.
I did this:
1) Extracted the PdaXrom Env and chrooted to it, without the need of Vmware Image or Other.
2) Installed the Builder into the Env and begin to edit the rules-ipk files for the New Packages.
Now, why compile with the Env?
The answer it's logical, you should have the Building Host Configuration as much as possible near to the Target you have to compile for.
Now, i saw that building with the SDK misses some Builder ENV variable settings that makes a little difference for a good result in compilation.
I' m trying to understand what' s this difference, to use the SDK the time i have to do a on-the-fly compilation.
So, logically, the Builder rules-ipk use it' s better, also because it' s completely automatic.
THX Sahsz.
Sometimes happens that configure tries to execute an Arm Native command to understand some library,binary or header ver.
Now if you can investigate it manually in the armv5tel DIR, you can overcome this issue hacking configure itself.
An example could be some errors due to a cross-compiling test.
I.E. Could not execute SOMETHING while cross compiling.
You have to put the : command in the cross-compilation test as:
if test cross-compiling = "yes" then
:
else
blablabla
fi
And set the variable before this statement to make configure have always all the variable set.
Logically there are some situations where a cross-compilation it' s impossible, due to a need of native command execution needed.
But until here i found only one case.
Hope this help, because as you i' m a beginner in the cross-compilation world and there are some very deep code implications in this kind of stuff.
BYEZ!!
Note: Remember that all the commands that need to deal with the proc DIR will give you error as you are in a chrooted Env.
Logically a Dedicated machine with PdaXrom.Iso it' s better.