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

Title: Problems With Zgcc
Post 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?
Title: Problems With Zgcc
Post by: freizugheit on January 24, 2005, 09:40:32 pm
Are you using root during the installaton?
Title: Problems With Zgcc
Post by: holck on January 25, 2005, 06:30:45 am
Quote
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
Code: [Select]
sh zgcc.sh
Title: Problems With Zgcc
Post by: Stubear on January 25, 2005, 07:05:31 am
Quote
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
Code: [Select]
. zgcc.sh
If that still gives you erros then you are most probably not running bash but ash.
Try running
Code: [Select]
bash at the prompt as root, then try source or . again

Stu
Title: Problems With Zgcc
Post by: Fraggy on January 25, 2005, 09:32:28 am
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.