Re: A little guidance please
From: Yeric (NOSPAM_at_NOSPAM.com)
Date: 03/02/04
- Next message: FightClub!: "Port compilation error"
- Previous message: Imad Hussain: "Re: A little guidance please"
- In reply to: Yeric: "A little guidance please"
- Next in thread: Steve O'Hara-Smith: "Re: A little guidance please"
- Reply: Steve O'Hara-Smith: "Re: A little guidance please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
>
- Next message: FightClub!: "Port compilation error"
- Previous message: Imad Hussain: "Re: A little guidance please"
- In reply to: Yeric: "A little guidance please"
- Next in thread: Steve O'Hara-Smith: "Re: A little guidance please"
- Reply: Steve O'Hara-Smith: "Re: A little guidance please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|