Thanks for your advice.

I'm following your procedure and made lots of progress but not there yet.
The first part works well in my Linux PC, and my mircroSD card looks like this
from the Gumstix if I mount the microSD by

    $mount /media/card

    root@gumstix-custom-verdex:/media/card$ ls
    bin         dev         home        lost+found  mnt         sbin        tmp         var
    boot        etc         lib         media       proc        sys         usr

However,

    $mount -t proc proc /media/card/proc

does not work.

If I try

    $mount -t proc proc /media/card

It shows

    root@gumstix-custom-verdex:/media/card$ ls
    1            360          5            621          877          diskstats    ioports      mounts       sysvipc
    120          374          522          626          asound       driver       irq          mtd          timer_list
    172          38           538          630          buddyinfo    execdomains  kallsyms     net          timer_stats
    2            39           541          670          bus          fb           kmsg         partitions   tty
    26           390          576          719          cmdline      filesystems  loadavg      schedstat    uptime
    3            391          598          724          cpu          fs           locks        self         version
    321          4            6            745          cpuinfo      gpio         meminfo      slabinfo     vmstat
    354          40           608          746          crypto       interrupts   misc         stat         zoneinfo
    358          41           616          859          devices      iomem        modules      sys

And, of course, since there is no proc directory there, the

    $chroot /media/card/proc

does not work.

Anyone has any idea?

Thanks.

Hak-Tae



----- Original Message ----
From: Corey McGuire <coreyfro@coreyfro.com>
To: General mailing list for gumstix users. <gumstix-users@lists.sourceforge.net>
Sent: Friday, June 27, 2008 4:02:46 PM
Subject: Re: [Gumstix-users] How do I make a Full Build Environment on a Gumstick? (upto and possibly including Bitbake)

Thanks everyone.  I've actually gotten a build environment and am building myself an empire, one tarball at a time.  Here's my image:

# basic gumstix image

require ${GUMSTIXTOP}/com.gumstix.collection/packages/images/gumstix-basic-image.bb
PR="r8"

IMAGE_INSTALL += "glibc-localedata-en-us glibc-gconv-ansi-x3.110 screen gcc make autoconf automake ckermit minicom perl tcl vim rsync bitbake glibc-charmap-ansi-x3.110-1983 glibc-utils glibc-extra-nss glibc-dbg glibc-pcprofile binutils pkgconfig libtool m4 python gdb strace linux-libc-headers-dev gcc-symlinks binutils-symlinks diffutils libc6-dev pkgconfig ncurses-dev"

As far as getting a build environment on flash, I just bitbaked an image, extracted the resulting tar file, and then chrooted to the extracted directory.

In other words:

bitbake gumstix-fro-image.bb
cd <path to compact flash>
sudo tar -xzvf ~/gumstix-oe/tmp/deploy/glibc/images/gumstix-custome/verdex/gumstix-fro-image-gumstix-custom-verdex.tar.gz
cd ..
umount <path to compact flash>

then, on the gumstix

mount -t proc proc /media/cf/proc
chroot /media/cf/proc

Then you are in a comfortable environment with out actually configuring the system to boot.

On Tue, Jun 24, 2008 at 10:05 AM, Hak-Tae Lee <haktae@yahoo.com> wrote:
I think I am missing something.

I tried "ipkg install libc6-dev binutils gcc gcc-symlinks make cpp cpp-symlinks" on my Gumstix (verdex XM4)
yesterday, but quickly ran out of space.

I had a 2GB microSD card inserted and mounted, but looked like it was not utilized.

Forgive me for my ignorance, but can you please clarify,
(1) What should I do in my usual build machine (Linux PC)?
(2) What should I do in my Gumstix

Thanks.

Hak-Tae



----- Original Message ----
From: zigzagjoe <zigzagjoe@gmail.com>
To: General mailing list for gumstix users. <gumstix-users@lists.sourceforge.net>
Sent: Saturday, June 21, 2008 7:41:37 PM
Subject: Re: [Gumstix-users] How do I make a Full Build Environment on a Gumstick? (upto and possibly including Bitbake)

http://www.boristheengineer.co.uk/slug/c_compiler.htm

in short, "ipkg install libc6-dev binutils gcc gcc-symlinks
make cpp cpp-symlinks"


giving you a complete build environment. done this several times now and it has worked flawlessly.

-ziggy

On Fri, Jun 20, 2008 at 1:14 AM, Corey McGuire <coreyfro@coreyfro.com> wrote:
I found the following:
http://dev.openbossa.org/trac/mamona/browser/contrib/angstrom/build-release.sh?rev=fa41946dfa5129fdf4f63ccd73e0cb1357b45101

And I've made a new image.bb with promising results:
/usr/bin/arm-angstrom-linux-gnueabi-gcc

I don't have my stix, but I'll test it tomorrow.

On Thu, Jun 19, 2008 at 5:40 PM, Hak-Tae Lee <haktae@yahoo.com> wrote:
Sorry this is not an answer but I also want to know how to cross-compile GCC and load it up to Gumstix so that I can compile and run directly from Gumstix.




----- Original Message ----
From: Corey McGuire <coreyfro@coreyfro.com>
To: General mailing list for gumstix users. <gumstix-users@lists.sourceforge.net>
Sent: Thursday, June 19, 2008 3:22:41 PM
Subject: [Gumstix-users] How do I make a Full Build Environment on a Gumstick? (upto and possibly including Bitbake)

Hey all,

So I would really like to get a nice gnu build environment on my gumstix.  I followed the instructions here  but it did not give me the nice, familiar environment I wish. I bitbaked my own image and made a Hello World .BB and I am now comfortable making my own Image .BB's, but when I include GCC in the list of packages to install, I get, instead, cc1.  I don't want to cross compile, I want to build on the system.

Getting just GCC working would be a start, but does anyone have a .BB or at least a suggested assortment of packages to get everything upto Bitbake working on a gumstix?  I'm working with gigs of compact flash here, so I am not worried at all about space.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gumstix-users mailing listhttps://lists.sourceforge.net/lists/listinfo/gumstix-users




--
Froism #9123409
In a Cosmos made of bits, creation should be measured in bytes, not bucks

Froism #891234
I just found out today that, when I was born, the doctor marked me as spam. No WONDER nobody gets me!


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users




--
Froism #9123409
In a Cosmos made of bits, creation should be measured in bytes, not bucks

Froism #891234
I just found out today that, when I was born, the doctor marked me as spam. No WONDER nobody gets me!