Author Topic: Cross compiling according to instructions didn\'t work  (Read 5689 times)

whit

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Cross compiling according to instructions didn\'t work
« Reply #15 on: June 11, 2004, 03:41:24 pm »
Strangely, it no longer halts the system when run in X. It was quite repeatable before, but something I\'ve installed or configured in the past couple of days must have altered whatever it was incompatible with. Has anyone else tried it with pdaXrom?

ikm

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://
Cross compiling according to instructions didn\'t work
« Reply #16 on: June 11, 2004, 06:47:42 pm »
Quote
Checked the spaces in the ./configure command, and there were none missing in how I pasted it (this from bash history):

\"./configure --host=armv5tel-cacko-linux --build=i686-linux --x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include --x-libraries=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib --disable-debug --prefix=/usr/local\"

So it\'s probably an incompatibility with the ntp files - that running it with the tutorial version produces i686 code instead.
The first time around I also tried the tutorial\'s ipkg building instructions, which also failed (the stuff installed to the PCs directotories instead) - again probably a problem in the ntp distribution\'s files.


The tutorial is just an example, not a recipe. One have to dive into the contents of the program he packages almost always, most frequently in the configure scripts, and sometimes even in the code itself. The understanding of the way it all works is the thing that helps greatly. Unfortunately, there is no universal method that just works, we would be having all of the apps already compiled automatically for us in case it existed.

whit

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Cross compiling according to instructions didn\'t work
« Reply #17 on: June 11, 2004, 08:16:52 pm »
Quote
The tutorial is just an example, not a recipe. One have to dive into the contents of the program he packages almost always, most frequently in the configure scripts, and sometimes even in the code itself. The understanding of the way it all works is the thing that helps greatly. Unfortunately, there is no universal method that just works, we would be having all of the apps already compiled automatically for us in case it existed.


Fair enough. But for most things on this level we don\'t need to understand the way it all works, just certain parts. (How many people in the world understand the way a computer works on all levels and all aspects?) So what those of use who\'d like to be able to cross compile need is pointers to the most salient concepts. Maybe we can start to put together a cross-compiling FAQ here?