Author Topic: Beginner's Cross Compile Question  (Read 9406 times)

enlightened_j

  • Newbie
  • *
  • Posts: 18
    • View Profile
Beginner's Cross Compile Question
« Reply #15 on: May 24, 2006, 07:58:43 pm »
Can someone post a link to the VMWare image?  I can't seem to find it on the pdaxrom.com website.

Thanks.

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Beginner's Cross Compile Question
« Reply #16 on: May 25, 2006, 01:20:47 am »
here:
http://mail.pdaxrom.org/download/1.1.0beta1/pdaX86/vmware/

no that I had a little trouble to build beta3 using this. (you need to replace the iconf.h from the native i686 toolchain with the one form the arm toolchain you build)

but it should be fine if you use the sdk, not that you should be able to use any linux distro to use the sdk.
SLC-860 cacko / senao wifi

enlightened_j

  • Newbie
  • *
  • Posts: 18
    • View Profile
Beginner's Cross Compile Question
« Reply #17 on: May 25, 2006, 10:41:30 am »
Quote
here:
http://mail.pdaxrom.org/download/1.1.0beta1/pdaX86/vmware/

no that I had a little trouble to build beta3 using this. (you need to replace the iconf.h from the native i686 toolchain with the one form the arm toolchain you build)

but it should be fine if you use the sdk, not that you should be able to use any linux distro to use the sdk.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128362\"][{POST_SNAPBACK}][/a][/div]

Thanks.  I have been trying desperately to build pdaXrom for 6000.  I first tried Beta1 using the iso and the last builder for beta1, but I run into xkbcomp problem I posted in a different thread.

I then tried Beta4 and Beta3, but none finished building the rom.  I really want to get the pdaXrom building 6000, but it's not looking too good so far.  I have read the cross-compile how-to in mentioned in this thread, played with OpenEmbedded, and done some work with crosstool for TI OMAP, but none required XFree.  XFree is giving me quiet a lot of grief when compiling.  

Anyonoe know a good XFree86 cross compile tutorial?  
Thanks.

Xromer

  • Full Member
  • ***
  • Posts: 178
    • View Profile
    • http://
Beginner's Cross Compile Question
« Reply #18 on: May 29, 2006, 08:36:19 am »
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.
[span style=\'font-size:10pt;line-height:100%\']I don't know how, but i' ll do!!!
This is how i like to live! :)[/span]

Ipaq hx4700