OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Fushnchupsh on January 10, 2007, 04:17:19 pm

Title: Compilation Help
Post by: Fushnchupsh on January 10, 2007, 04:17:19 pm
Hey everyone  I am not new to linux but VERY new to compiling.  I am running c3200 with meanie's pdaxii 5.2.  I am trying to compile pyRXP so that I can then compile pycar but, after compiling the files when I try to build,  it starts out fine...  Then somewhere in the process it tells me that it is unable to execute 'armv5tel-cacko-linux-gcc' .  I have meanie's zgcc image installed and it works...  I am pretty lost as to what is going wrong.  I am probably doing something stupid.  any help would be appreciated.

thanks,
Fish
Title: Compilation Help
Post by: Capn_Fish on January 10, 2007, 04:51:13 pm
I have no idea if this will help, but you could look at the permissions of armv5tel-cacko-linux-gcc, assuming it exists, and make sure it is executable.
Title: Compilation Help
Post by: Fushnchupsh on January 10, 2007, 05:53:28 pm
hey capn fish, thanks for your quick reply

like I said UI have meanie's zgcc image installed.  It's not actuall called "armv5tel-cacko-linux-gcc".  What I tried was unmounting the image and chmoding it.  I then rebooted.  I tried to build pyRXP and recieved the same error.  So, it could be some sort of weird permission thing because it is an image.  Or, I am missing some GCC files or some such. arggh. Or I am wrong on both accounts (most likely)

--Fish
Title: Compilation Help
Post by: Meanie on January 10, 2007, 06:19:51 pm
Quote
hey capn fish, thanks for your quick reply

like I said UI have meanie's zgcc image installed.  It's not actuall called "armv5tel-cacko-linux-gcc".  What I tried was unmounting the image and chmoding it.  I then rebooted.  I tried to build pyRXP and recieved the same error.  So, it could be some sort of weird permission thing because it is an image.  Or, I am missing some GCC files or some such. arggh. Or I am wrong on both accounts (most likely)

--Fish
[div align=\"right\"][a href=\"index.php?act=findpost&pid=150745\"][{POST_SNAPBACK}][/a][/div]

It's based on sashz' zgcc image anyway and that part of it is exactly the same. Since it is a native compiler, it should be using gcc instead of armv5tel-cacko-linux-gcc which is normally only used if you are invoking a crosscompiler.

as a workaround, you could do this:

ln -s /opt/native/arm/3.4.6-xscale-softvfp/bin/gcc /usr/bin/armv5tel-cacko-linux-gcc
Title: Compilation Help
Post by: Fushnchupsh on January 11, 2007, 03:03:06 pm
meanie, you are a god among men
thanks for your help and thanks capn fish for yours too.

--Fish