All right, so after a little playing and some verification, I successfully compiled a simple hello world program. I am using the stock 'gumstix-basic-image', so the following may be different for other images. The problem I was having was caused by a broken symlink, which didn't point to the proper location because I installed packages to an MMC device.

From a clean image, I had to install the following packages via ipkg (after performing 'ipkg update'):

gcc
libc6-dev
binutils


Please note that lib6c-dev will satisfy a few dependencies if they are not already present:
     glibc-extra-nss
     libthread-db1
     linux-libc-headers-dev

If these packages were installed to a CF or MMC device, you will need to issue the appropriate 'ipkg-link' commands. Also, a symbolic link is broken if not installed to the root filesystem, so it needs to be fixed using the following commands:

rm /media/card/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc_s.so
ln -s /lib/libgcc_s.so.1 /media/card/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc_s.so
(These commands will use different paths for CF users)

At this point, all required items are present to build a simple program.

On Sat, Mar 1, 2008 at 1:12 PM, Steve Sakoman <sakoman@gmail.com> wrote:
jeremy,

This has been on my todo list  -- I've played around with it a little
to make sure I had the basic packages in the repository.

I think you need at least:

gcc
glibc
glibc-dev
libgcc
glib-2.0
binutils

If you do get it working, please keep track & post a how to on the
list or the User Wiki!

There are some sdk tasks in snapshot/packages/tasks that have big
supersets of what you need, but I've been looking for the minimum for
"hello world" type apps.

Steve

On Sat, Mar 1, 2008 at 12:00 PM, Jeremy Halter <jersacct@gmail.com> wrote:
> I have been trying to use ipkg to install the necessary packages for native
> compilation on the Gumstix, but I have not had much success. I have searched
> the packages generated from 'ipkg list' and have not found a generic
> 'build-essential' type package, so I've tried installing most of the
> packages related to gcc and libc, but still have errors from the linker
> reporting messages like:
>
> /bin/ld: cannot find -lgcc_s
>
> Can anyone point me to a list of packages needed for a build system, or a
> relevant tutorial?
>
> Thanks for any help,
> Jeremy
>
> -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Microsoft
>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
>  gumstix-users mailing list
>  gumstix-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users