Author Topic: What Packcges Are In Zgcc-x.x.x.img?  (Read 1867 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
What Packcges Are In Zgcc-x.x.x.img?
« on: September 22, 2006, 04:41:18 pm »
I would like to set up the compiler without the image. Can anybody tell me what packages are in the image (minus libs) and where I can get them?

Thanks in advance.
« Last Edit: September 22, 2006, 04:42:04 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
What Packcges Are In Zgcc-x.x.x.img?
« Reply #1 on: September 26, 2006, 02:37:38 pm »
OK, then can anybody tell me what packages I need to compile C and C++ apps?

Thanks.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
What Packcges Are In Zgcc-x.x.x.img?
« Reply #2 on: September 26, 2006, 02:44:43 pm »
Whats stopping you from using the image?

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

fiferboy

  • Newbie
  • *
  • Posts: 38
    • View Profile
What Packcges Are In Zgcc-x.x.x.img?
« Reply #3 on: September 26, 2006, 03:11:05 pm »
From memory:

gcc-headers
gcc
binutils
distcc
make
automake
autoconf

I think that's it, but I might be missing something.  That's what has worked for me.

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
What Packcges Are In Zgcc-x.x.x.img?
« Reply #4 on: September 26, 2006, 05:25:39 pm »
Quote
From memory:

gcc-headers
gcc
binutils
distcc
make
automake
autoconf

I think that's it, but I might be missing something.  That's what has worked for me.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142384\"][{POST_SNAPBACK}][/a][/div]
and more devel packages ()
sdl-devel
gtk-devel
x11-headers
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
What Packcges Are In Zgcc-x.x.x.img?
« Reply #5 on: September 26, 2006, 07:51:02 pm »
Thanks. I will try those packages. InSearchOf: I have had trouble with the image not recognizing packages I have installed, so I thought that by using just the gcc packages and adding the libs as they become necessary I could avoid that issue.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
What Packcges Are In Zgcc-x.x.x.img?
« Reply #6 on: September 26, 2006, 08:12:36 pm »
I think if the software you are trying to compile has a MAKEFILE you can make changes to where the lib's it is looking for are located...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
What Packcges Are In Zgcc-x.x.x.img?
« Reply #7 on: September 26, 2006, 09:04:44 pm »
The problem is most likely pkgconfig. Autoconf uses pkgconfig to locate installed libraries, which it does by consulting .pc files stored in a specific directory. Installing a new library installs the .pc file for it, and everything works great.

Works great, that is, except when pkgconfig is looking at a custom readonly directory - e.g. part of a mounted disk image. Oops.

Try copying everything from /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/pkgconfig to /usr/lib/pkgconfig (don't overwrite any .pc files already there!) and then set the PKG_CONFIG environment variable to point to /usr/lib/pkgconfig. Like this:

Code: [Select]
PKG_CONFIG=/usr/lib/pkgconfig ./configure
If you've compiled your libraries with autoconf and done a "make install" then IIRC the .pc file will be installed to /usr/lib/pkgconfig. But it might make sense to check /usr/local/lib/pkgconfig and move anything you find there just in case

This didn't completely help me - for some reason gcc *insisted* on using the headers in the image instead of the local ones, even when I explicitly set all the include paths. Hopefully you won't hit that problem; I needed to do Stupid Mount Tricks to fix it...
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote