i read through and tried to follow the methods to my best ability of this page:
http://s91215199.onlinehome.us/zaurus/zgcc2install.html i can get mnt/card/.zgcc and mnt/card/.include mounted
by dropping into root using "su" an doing:
mknod /dev/loop[n] b 7 [n]
then come back to user "zaurus" an run the script "mntzgcc.sh"
mount -t cramfs /mnt/card/zgcc2Bin.cramfs /mnt/card/.zgcc -o loop
mount -t cramfs /mnt/card/zgcc2Inc.cramfs /mnt/card/.include -o loop
some reason, i cant get them to fully link or get $PATH to look in them, when i run zgcc.sh
export GCC_EXEC_PREFIX=/mnt/card/.zgcc/lib/gcc-lib/arm-linux/2.95.2/
export COMPILER_PATH=/mnt/card/.zgcc/bin:/mnt/card/.zgcc/lib/gcc-lib/arm-linux/2.95.2/
export CPATH=/mnt/card/.include/
export LIBRARY_PATH=/mnt/card/.zgcc/lib/:/mnt/card/.zgcc/lib/gcc-lib/arm-linux/2.95.2/:/lib/:/home/QtPalmtop/lib/
export CPLUS_INCLUDE_PATH=/mnt/card/.include/g++-3/
PATH=/mnt/card/.zgcc/bin:$PATH
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/card/.zgcc/lib
export LD_LIBRARY_PATH
TMAKEPATH="/mnt/card/.zgcc/tmake/lib/sharp-onboard/"
export TMAKEPATH
ln -sf /lib/libc.so.6 /usr/lib/libc.so
ln -sf /lib/libm.so.6 /usr/lib/libm.so
ln -sf /mnt/card/.zgcc/bin/libstdc++-3-libc6.1-2-2.10.0.so /home/QtPalmtop/lib/libstdc++-libc6.2-2.so.3
it doesnt show any errors when i run this,
but then it doesnt seem to be looking for anything its suppose to be???
the strange thing is, that while in 1 Konsole tab where an when i run the scripts, i somehow got it before to see gcc from doing "which gcc"
cant remember how i did it, tho it brung up the proper location of gcc
(And only gcc )
if i start another tab in Konsole, an do "which gcc" it wont find it at all.
very peculiar!!?!?
i would like to do all this in one sweep from running 1 shell script, or most preferable have it set itself up at boottime. (aiming for that one, but will be happy with the other.)
so im unsure which file i need to be modifying, making or where it would go.
Could i alleviate all this by putting a script of sorts in "/home/zaurus"? or maybe even somewhere else that is rw? maybe like /usr? i would like it to be seperate from important files, but it doesnt have to be.
for over a month now ive been trying to figure out how to compile this package:
http://raa.ruby-lang.org/project/opengl/http://www2.giganet.net/~yoshi/rbogl-0.32d.tar.gz i do imagine some of you reading this, may have seen my post at the bottom in the thread about permissions. no one was answering so i figured i should restructure an make my own thread. i did search too, but i cant figure out what the true problem is!
it seems to me that $path $Path and $PATH are all different things, an now ive gone crosseyed.
[img]http://www.petsadrift.com/grfx/crosseyed.jpg\" border=\"0\" class=\"linked-image\" /]
thanks for you time.
-rahn