Author Topic: How Install Gcc.img?  (Read 6503 times)

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
How Install Gcc.img?
« on: February 07, 2005, 12:10:22 am »
i want to try development some simply sofeware .

cs_jacky

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • http://
How Install Gcc.img?
« Reply #1 on: February 07, 2005, 02:02:03 am »
Mount the img file as follows:

#mkdir -p /opt/arm/3.3.2-vfp
#mount -o loop,ro -t cramfs /mnt/card/gcc.img /opt/arm/3.3.2-vfp
« Last Edit: February 07, 2005, 02:04:23 am by cs_jacky »

SSG

  • Newbie
  • *
  • Posts: 16
    • View Profile
How Install Gcc.img?
« Reply #2 on: February 07, 2005, 02:57:40 am »
Quote
Mount the img file as follows:

#mkdir -p /opt/arm/3.3.2-vfp
#mount -o loop,ro -t cramfs /mnt/card/gcc.img /opt/arm/3.3.2-vfp
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65925\"][{POST_SNAPBACK}][/a][/div]

this for RC5 for RC8-9
see file /etc/profile for path
mkdir -p /opt/native/arm/3.3.2-xscale-softvfp
#mount -o loop,ro -t cramfs /mnt/card/gcc.img /opt/native/arm/3.3.2-xscale-softvfp

henrysviper

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://prasinos.eu/
How Install Gcc.img?
« Reply #3 on: February 08, 2005, 04:14:07 pm »
I see that the feed contains more or less all the tools needed for development (gcc, make etc.).
But then there is also a different SDK for download at the pdaxrom site.

Could someone explain what is the difference between installing all the development-related ipks and using the SDK img?
C750 :: Switching between Angstrom and Debian armel :: SD Kingstron 2GB (ext3) :: SD Toshiba 512MB (ext3) :: CF Transcend 80x 1GB :: CF Lexar 4x 256MB :: Ambicom CF WiFi :: Targus CF Modem :: Brando solar charger

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
How Install Gcc.img?
« Reply #4 on: February 08, 2005, 05:55:44 pm »
Quote
I see that the feed contains more or less all the tools needed for development (gcc, make etc.).
But then there is also a different SDK for download at the pdaxrom site.

Could someone explain what is the difference between installing all the development-related ipks and using the SDK img?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66167\"][{POST_SNAPBACK}][/a][/div]
I think it's nearly the same. However the toolchain uses cramfs which is a more compact, readonly filesystem, so it's smaller that way.
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

SSG

  • Newbie
  • *
  • Posts: 16
    • View Profile
How Install Gcc.img?
« Reply #5 on: February 08, 2005, 06:02:03 pm »
Quote
Quote
I see that the feed contains more or less all the tools needed for development (gcc, make etc.).
But then there is also a different SDK for download at the pdaxrom site.

Could someone explain what is the difference between installing all the development-related ipks and using the SDK img?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66167\"][{POST_SNAPBACK}][/a][/div]
I think it's nearly the same. However the toolchain uses cramfs which is a more compact, readonly filesystem, so it's smaller that way.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66188\"][{POST_SNAPBACK}][/a][/div]

I pack this in squashfs this more compact,  and more speed

conundrum

  • Full Member
  • ***
  • Posts: 102
    • View Profile
How Install Gcc.img?
« Reply #6 on: February 10, 2005, 03:15:31 pm »
You need all the development binaries and the SDK img to compile natively.

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
How Install Gcc.img?
« Reply #7 on: February 16, 2005, 09:20:21 am »
To develop and compile on the zaurus, do I just need the gcc and gcc header ipks from the feed (rc9.1)  or should I use the zgcc.img in the developer section? Thre last time I tried from the feeds (rc8), I got lots of install errors.

The aim is to compile on the zaurus only, not on a desktop.

Also, I would want to install on sd, as not enough space in root!


Thanks.


Mark
-------
slc750 rc9.1 57mb root
sd 512
3200 from conics.net (switched from sharp to pdaxii13)

macwiz

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • http://www.macwiz.co.uk
How Install Gcc.img?
« Reply #8 on: March 01, 2005, 07:08:29 pm »
Quote
The aim is to compile on the zaurus only, not on a desktop.

You mean do an install from source on the Zaurus? Yes, I'd really like someone to guide us through that (for non-techies like myself). Just let us know precisely what ipks need installing, what kind of space we need where, and if the simple make install commands will work...

That would be fun!
Macwiz
c860, never quite lived up to my expectations... my fault I guess
17in MacBook Pro lovely xxxx
iPhone 3G ummm
SE P990i with UIQ3. Never enough RAM.
Pocket Loox 720 used for designing ebooks. Just don't like it though!

macwiz: apple mac support in Oxfordshire
Twitter: @boffinboy

Ferdy

  • Newbie
  • *
  • Posts: 15
    • View Profile
How Install Gcc.img?
« Reply #9 on: March 02, 2005, 04:00:09 pm »
I tried compiling something natively on my C860, so I mounted the zgcc.img file, and ran "./configure". But there is a strange error in the output: "grep: error while loading shared libraries: libpcre.so.0: connot open shared object file: No such file or directory"

Does anyone know what this error means and how to solve it? Or is it a harmless error?

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
How Install Gcc.img?
« Reply #10 on: March 02, 2005, 04:32:04 pm »
install pcre ?
SLC-860 cacko / senao wifi

Ferdy

  • Newbie
  • *
  • Posts: 15
    • View Profile
How Install Gcc.img?
« Reply #11 on: March 02, 2005, 06:53:31 pm »
Quote
install pcre ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69163\"][{POST_SNAPBACK}][/a][/div]
I didn't know it was a program.. But I installed it and now I don't get the error anymore. Thanks for the tip!  

emjaybee

  • Newbie
  • *
  • Posts: 22
    • View Profile
How Install Gcc.img?
« Reply #12 on: March 21, 2005, 09:05:28 am »
Quote
Quote
The aim is to compile on the zaurus only, not on a desktop.

You mean do an install from source on the Zaurus? Yes, I'd really like someone to guide us through that (for non-techies like myself). Just let us know precisely what ipks need installing, what kind of space we need where, and if the simple make install commands will work...

That would be fun!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I didn't see anyone post a guide for this since this was posted so I was wondering as well.  I'm looking to compile some software from source right on the Z and I'm running into a problem.  I've installed the gcc, gcc-headers, and make ipks and the system knows that gcc is there, but when I run ./configure during the script it says "checking for gcc... gcc  checking whether the C compiler (gcc) works ...no"

I've seen other people post about a gcc.img file, but can't find it at either [a href=\"http://mirror1.pdaxrom.org/current/]http://mirror1.pdaxrom.org/current/[/url] or http://www.pdaxrom.org/unstable/  Little help here!  
Sharp SL-C860
AmbiCom WL1100-CF Wireless Adaptor
Sandisk 1.0GB CF Card

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
How Install Gcc.img?
« Reply #13 on: March 21, 2005, 09:36:06 am »
zgcc.img is on www.pdaxrom.org, somewhere beside rc9
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

deckard73

  • Newbie
  • *
  • Posts: 33
    • View Profile
How Install Gcc.img?
« Reply #14 on: March 21, 2005, 01:58:08 pm »
Hello

[/quote]
I've seen other people post about a gcc.img file, but can't find it at either http://mirror1.pdaxrom.org/current/ or http://www.pdaxrom.org/unstable/  Little help here!  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71626\"][{POST_SNAPBACK}][/a][/div]
[/quote]

Look into the squeak thread for installing zgcc-image on zaurus. this is the easiest way
I compile only small programs with that like bzip2, less etc. But it works.
Next days i will try to compile emacs 21.4 from source

hope that helps
Enno