Author Topic: Problems With Zgcc  (Read 4969 times)

Fraggy

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://jeanmarc.pixxelz.com
Problems With Zgcc
« 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

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?
« Last Edit: January 24, 2005, 11:33:23 am by Fraggy »
----------------------------------------------------
Sharp Zaurus SL-5500 / Crow - Cacko ROM
512Mb Sandisk SD, 512Mb Sandisk CF, 128Mb Expansys CF, 4 in 1 Card reader
Linksys WCF12 Wireless CompactFlash Card
Serialo ZThinCable USB
Socket Mobile Power Pack
Garmin eTrex Legend GPS
----------------------------------------------------
Damn expensive toys, but worth every dime :)

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Problems With Zgcc
« Reply #1 on: January 24, 2005, 09:40:32 pm »
Are you using root during the installaton?

holck

  • Newbie
  • *
  • Posts: 34
    • View Profile
Problems With Zgcc
« Reply #2 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
SL760, tkcROM, ASUS WiFi

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Problems With Zgcc
« Reply #3 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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

Fraggy

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://jeanmarc.pixxelz.com
Problems With Zgcc
« Reply #4 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.
----------------------------------------------------
Sharp Zaurus SL-5500 / Crow - Cacko ROM
512Mb Sandisk SD, 512Mb Sandisk CF, 128Mb Expansys CF, 4 in 1 Card reader
Linksys WCF12 Wireless CompactFlash Card
Serialo ZThinCable USB
Socket Mobile Power Pack
Garmin eTrex Legend GPS
----------------------------------------------------
Damn expensive toys, but worth every dime :)