Re: A little guidance please

From: Yeric (NOSPAM_at_NOSPAM.com)
Date: 03/02/04


Date: Tue, 2 Mar 2004 22:32:28 +0000 (UTC)

Ooops sorry people, not sure if this matters ( most likely does )

I am using the 5.2.1 branch -Current I believe

Athlon-XP
1GB Ram
120GB Seagate ATA100 IDE
Nvidia Ge-Force4 GFX

Regards
Yeric
"Yeric" <NOSPAM@NOSPAM.com> wrote in message
news:c22ts4$an4$1@sparta.btinternet.com...
> Hello all :)
>
> Ok for my 3rd year project, I have to write up a comprehensive report on
> various Un*x operating systems, from choosing 3 os's to building them from
> sources, all good fun so far, I have chosen Gentoo Linux ( not a troll
;p )
> FreeBSD and Rock Linux, I have to compare the os's and write down all the
> pros and cons of each, their strengths pitfalls ( are there any :) )
>
> Ok but I am not going to ask you to answer these questions, I used this
> purely as an intro of what I am doing, and why I might want to go through
> the gruelling task of building an os from scratch.
>
> I have successfully built both Gentoo and Rock from scratch apart from
Rock
> which requires an installed version of rock to build an architecture
> specific release from sources, and used a stage 1 to build Gentoo,
configure
> some basic services, such as ftp, dhcp server, nfs and a few others.
>
> I have managed to install FreeBSD and boot into it and have to say this
does
> not differ greatly from other os's using packages, but now I need to
rebuild
> FreeBSD ( I am assuming with make buildworld, make kernel etc )
>
> I have had several attempts at this and all have worked, except I cant
seem
> to specify the cpu settings for the compile ?
>
> Reading the handbook it says copy the settings from
/etc/defaults/make.conf
> that you require to /etc/make.conf.
>
> Well firstly /etc/defaults/make.conf does not exist it has some entries in
> /etc/defaults like rcd.conf pccard.conf but no make.conf.
>
> So I figured that maybe I could set up the /etc/make.conf file similar to
> the Gentoo make.conf file minus useflags and other settings.
>
> So I add a line to the sparse make.conf -mcpu=athlon-xp ( as per man make
> page and gcc man page )
>
> empty the /usr/obj dir
> cd /usr/src
> make buildworld
>
> but it is still setting -mcpu to PentiumPro which is ok as this all
compiles
> fine, but does not allow me to compile specifically for my processor which
> is what I need to do
>
> I did not do the cvsup as I have sources instaled from my minimal install
cd
> and figured, using the current branch, I did not wish to give myself any
> more headaches just yet.
>
> So could some kind soul please help me out here, I wish to buildworld for
an
> Athlon-xp and possibly set optimization to -O2 though I have to say
building
> the other distros with all optimization settings, I was unable to see any
> noticable gains in performance over the -Os -O2 and -O3 but O2 seems to
give
> the best of both worlds O3 actually seems slower and binaries larger ?? Os
> gave reduced binary, but was a tadge slower.
>
> I have been looking at /usr/share/mk/bsd.README and tried experimenting
with
> the bsd.cpu.mk file, this seems to read CPUTYPE but I just cant fugre out
> where from
>
> Hope someone can help me here please, I have at least 3 builds to do on
> FreeBSD with all -Ox settings, as well as attempting the possibility of a
> cross compile
>
> Thanks in advance
> Yeric
>
>



Relevant Pages

  • Re: OpenOffice? OMG!! Has ANYONE actually managed to install it?
    ... >>the Gentoo repository) I'll never know... ... I do dislike having to compile it... ... Jose saying "Sounds like you dread playing with OO." ... I could install and type 12 thesis's with Microsoft Windows in the time ...
    (alt.os.linux)
  • Re: What is Macromedia Flash Player
    ... > Okey, I have been using RedHat before I changed over to Gentoo, I never ... it doesn't compile, missing kflash.moc. ... GENTOO right now. ... > installation of the system, on a RedHat install, it takes you max 30 min ...
    (alt.os.linux)
  • A little guidance please
    ... I have successfully built both Gentoo and Rock from scratch apart from Rock ... I have managed to install FreeBSD and boot into it and have to say this does ... to specify the cpu settings for the compile? ... Reading the handbook it says copy the settings from /etc/defaults/make.conf ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Which package manager causes the least problems?
    ... No, seriously, the Portage system with Gentoo is heaven. ... To install or update or unninstall anything, you use the "emerge" ... compile the program with some flags that are optimized for your ...
    (comp.os.linux.misc)
  • Re: BYO-LFS or Gentoo
    ... even if it's built on that you do compile everything ... Good things with BYO-LFS: ... Good things with Gentoo: ... Even if Gentoo claims that you are in charge what you install, it's not true, ...
    (alt.os.linux)