OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: telemetric_au on May 08, 2007, 03:40:51 am
-
Hi all,
ive been trying to run the runsdk.sh script to get the cross sdk going, but it doesnt seem to be working. im doing this under puppy OS 2.13, i may try some other os's...
basically i run it and get:
sh-3.00# ./runsdk.sh
Type exit for leave arm-cacko-linux-gnu cross environment.
#
but none of the export variable have changed ??
eg:
# echo $PATH
/usr/lib/qt/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin
#
# echo $LD_LIBRARY_PATH
/usr/lib/qt/lib:/usr/lib/mozilla:/lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib
#
# echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig:/usr/X11R7/lib/pkgconfig
#
etc, etc...
but if i:
# export PATH=/opt/cross/arm/3.4.5-sa1100-softvfp/bin:$PATH
# echo $PATH
/opt/cross/arm/3.4.5-sa1100-softvfp/bin:/usr/lib/qt/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin
#
and "tab" responds to part command "finish's"
ive checked the permissions of my /etc/profile and are rw for all,
how can i get this script working, ??
-
Hi all,
ive been trying to run the runsdk.sh script to get the cross sdk going, but it doesnt seem to be working. im doing this under puppy OS 2.13, i may try some other os's...
basically i run it and get:
sh-3.00# ./runsdk.sh
Type exit for leave arm-cacko-linux-gnu cross environment.
#
but none of the export variable have changed ??
eg:
# echo $PATH
/usr/lib/qt/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin
#
# echo $LD_LIBRARY_PATH
/usr/lib/qt/lib:/usr/lib/mozilla:/lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib
#
# echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig:/usr/X11R7/lib/pkgconfig
#
etc, etc...
but if i:
# export PATH=/opt/cross/arm/3.4.5-sa1100-softvfp/bin:$PATH
# echo $PATH
/opt/cross/arm/3.4.5-sa1100-softvfp/bin:/usr/lib/qt/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin
#
and "tab" responds to part command "finish's"
ive checked the permissions of my /etc/profile and are rw for all,
how can i get this script working, ??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160757\"][{POST_SNAPBACK}][/a][/div]
depending on your shell, source runsdk.sh would do or use a .
-
yes, the first line of runsdk.sh is . /etc/profile, the problem is that its setting the variables and they just get set-back/lost for some reason. i tried it in DSL, and if i was not in root it worked but i needed to be in root to compile so no use to me... i imagine its got something to do with these mini-cut-down distro's and how they handle shells and users... as i have had it work properly in ubuntu.
either way on the up and up, i made up a work around script which solves the problem and i successfully used it to cross compile tcl last night
it starts up bash with the contents/commands of runsdk.sh as an init-file ,
** those using it: if your not using the 3.4.5-sa1100-softvfp sdk, you just have to edit both the files to reflect your sdk location.
Hayden.