OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Capn_Fish on September 22, 2006, 04:41:18 pm

Title: What Packcges Are In Zgcc-x.x.x.img?
Post by: Capn_Fish 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.
Title: What Packcges Are In Zgcc-x.x.x.img?
Post by: Capn_Fish 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.
Title: What Packcges Are In Zgcc-x.x.x.img?
Post by: InSearchOf on September 26, 2006, 02:44:43 pm
Whats stopping you from using the image?

Late
Title: What Packcges Are In Zgcc-x.x.x.img?
Post by: fiferboy 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.
Title: What Packcges Are In Zgcc-x.x.x.img?
Post by: anunakin 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
Title: What Packcges Are In Zgcc-x.x.x.img?
Post by: Capn_Fish 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.
Title: What Packcges Are In Zgcc-x.x.x.img?
Post by: InSearchOf 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
Title: What Packcges Are In Zgcc-x.x.x.img?
Post by: pelrun 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...