OESF Portables Forum
Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: Fraggy on January 24, 2005, 11:32:59 am
-
Can anybody help me out?
I'm trying to install the "ZGCC GNU Compiler Suite Release 2.02" on my Zaurus.
(http://s91215199.onlinehome.us/zaurus/)
Configuration instructions are here: http://s91215199.onlinehome.us/zaurus/zgcc2install.html (http://s91215199.onlinehome.us/zaurus/zgcc2install.html)
But I get stuck on the part where I have to configure the compiler
I have to run "source zgcc.sh" as root, but root doesn't recognize the command "source"...
Any suggestions?
-
Are you using root during the installaton?
-
I have to run "source zgcc.sh" as root, but root doesn't recognize the command "source"...
To me it looks like this command should run the shell-script zgcc.sh. If this is true, you could try sh zgcc.sh
-
I have to run "source zgcc.sh" as root, but root doesn't recognize the command "source"...
Any suggestions?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=63741\"][{POST_SNAPBACK}][/a][/div]
In bash source can also be done wth the . command. So you want to type
. zgcc.sh
If that still gives you erros then you are most probably not running bash but ash.
Try running bash
at the prompt as root, then try source or . again
Stu
-
Freizugheit: yes I was running the installation as root.
Stu: Indeed both methods do the job, thanks!
I still haven't gotten the compiler to run, 'cause now I got a misconfiguration in the compiler config, but the source command works again!
JM.