Gentoo Archives: gentoo-embedded

From: michael@×××××××××××××.com
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] x86 SBC Gentoo Embedded HowTo
Date: Thu, 26 May 2005 03:11:38
Message-Id: Pine.LNX.4.61.0505251503090.21026@mail.magrittesystems.com
In Reply to: Re: [gentoo-embedded] x86 SBC Gentoo Embedded HowTo by Marius Schaefer/Camberg/ISBAC
1 Thanks Marius,
2
3 I have another question. I'm building for a VIA EPIA ME-6000. I'm using
4 the following /etc/make.conf:
5
6 USE="uclibc"
7 CHOST="i586-gentoo-linux-uclibc"
8 CFLAGS="-march=c3 -m3dnow -mmmx -Os -pipe -fomit-frame-pointer"
9 CXXFLAGS="${CFLAGS}"
10 FEATURES="buildpkg"
11
12 this based on advice from
13 http://www.epiawiki.org/wiki/tiki-index.php?page=EpiaInstallingGentoo
14 and
15 http://gentoo-wiki.com/Safe_Cflags#Eden_C3.2FEzra_.28Via.29
16
17
18 I get an error during emerging the system:
19
20 i386-gentoo-linux-uclibc-gcc -pthread -shared -march=c3 -m3dnow
21 -mmmx -Os -pipe
22 -fomit-frame-pointer build/temp.linux-i686-2.3/fchksum.o
23 build/temp.linux-i686-2.3/md5.o build/temp.linux-i686-2.3/cksum.o
24 build/temp.linux-i686-2.3/sum.o -lz -o
25 build/lib.linux-i686-2.3/fchksum.so
26 gcc-config error: Could not run/locate "i386-gentoo-linux-uclibc-gcc"
27 error: command 'i386-gentoo-linux-uclibc-gcc' failed with exit status 1
28
29 Fair enough, I do not have i386-gentoo-linux-uclibc-gcc, instead I have
30 i586-gentoo-linux-uclibc-gcc. Why did it not get called?
31
32 For now, I'm going to create a link from i586-gentoo-linux-uclibc-gcc to
33 i386-gentoo-linux-uclibc-gcc, but I'd like to know how I should have
34 done this properly.
35
36 Any advice?
37
38 Michael
39
40 (P.s Heath - I'm taking notes as I go along to provide feedback to your
41 excellent HOWTO)
42
43
44
45
46 On Mon, 23 May 2005, Marius Schaefer/Camberg/ISBAC wrote:
47
48 > michael@×××××××××××××.com wrote on 22.05.2005 19:51:05:
49 >
50 >> Thanks Heath.
51 >>
52 >> Has anyone explained this part yet?
53 >>
54 >> # mount the development_rootfs proc and portage directories
55 >> # don't understand this someone please add comments
56 >> mount --bind /proc /opt/i586-gentoo-uclibc-linux/proc/
57 >> mount --bind /usr/portage /opt/i586-gentoo-uclibc-linux/usr/portage
58 >>
59 >
60 > This just makes your proc and portage directories available from inside of
61 > your development_rootfs (after chrooting). So you don't have to copy over
62 > all the sources to the small development_rootfs. Probably someone could
63 > add this as a comment?
64 >
65 > BTW: Nice Howto! I'm going to give it a try soon.
66 >
67 > Marius Schäfer

Replies

Subject Author
Re: [gentoo-embedded] x86 SBC Gentoo Embedded HowTo Brian Jackson <iggy@g.o>