On 17/02/06, Karl Zander <[EMAIL PROTECTED]> wrote:
> Doing a new install.  I got to the part about editing make.conf.  I used a
> stage3 tarball on x86 from the 2005.1-r1 release.
>
> /code
> make.conf
> CFLAGS="-0s -mcpu=i686 -pipe"
> CHOST="i386-pc-linux-gnu"
> CXXFLAGS="${CFLAGS}"
> /end code
>
> I am not sure why CHOST="i386-pc-linux-gnu".  Even make.conf.example says
>
> "All modern systems (even Athalons) should use "i686-pc-linux-gnu"

Read that as "are capable of using" rather than "should use" and it
makes more sense.

>
> Do I have the right tarball?   I got the tarball from the cd, not from the

Yes, you do. The 2005.1-r1 LiveCD only ships with a generic x86 stage3
tarball. There are two good reasons for this:

1) It simplifies the job of release engineering considerably.

2) The most broadly distributed packages CD featured binary packages
which are (and always have been) built in the same manner - that is,
with CHOST="i386-pc-linux-gnu" and -mcpu=i686. Thus you get packages
which are optimised for the i686 family of processors in general but
which will run on >=i386 processor. People were all too often mixing
the wrong stageball with said packages and running into compilation
issues further down the line.

Here are three plausible solutions:

Solution 1) Accept it and go with the flow. You can still set
CFLAGS/CXXFLAGS any which way you like ("-march=pentium4" for
example). The most obvious drawback when using this stageball is that
you can't build glibc with NPTL support ... assuming that matters to
you. It really isn't a big deal apart from that.

Solution 2) Don't use the supplied stageball and instead download
another one from a mirror using wget or whatever. The most "optimal"
choice for you is:
releases/x86/2005.1-r1/stages/pentium4/stage3-pentium4-2005.1-r1.tar.bz2

Solution 3) If you're very experienced with gentoo installation
procedure then you could perform a stage1 type installation (i.e.
bootstrap.sh to get to stage2, then emerge -e system to get to
stage3). Yes, you can do this even if you begin with a stage3 tarball.

Cheers,

--Kerin

-- 
[email protected] mailing list

Reply via email to