DragonFly users List (threaded) for 2007-05
DragonFly BSD
DragonFly users List (threaded) for 2007-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: rebuild DragonFly using gcc 4.1


From: Erik Wikström <erik-wikstrom@xxxxxxxxx>
Date: Sat, 05 May 2007 22:14:47 +0200

On 2007-05-05 20:59, arnuld wrote:
On 5/5/07, arnuld <geek.arnuld@gmail.com> wrote:
i wanted to have GCC 4.x based DragonFly system (for a C++ project)
and "Trevor Kendall" advised this:

------------
If you are using 1.8.x:
In /etc/make.conf uncomment WANT_GCC41=yes and rebuild.

If you are using HEAD, it is built automatically already.

To use it set CCVER to gcc41.
--------------


but "Matt" said "please do NOT use HEAD". so i used "LATEST preview release" which was GCC 3.4 based. In "/etc/mk.conf" i added a line "WANT_GCC41=yes" but i do not know how to rebuild ? i tried Google and got this:

# make buildworld
# make buildkernel

More on this at the end.


when i try this i get this message: "do not know how to build world".
funny message, i thought.  so i have these questions:

1.) Is it a good idea to use  DragonFly preview release as my
general-purpose OS. actually, i want learn UNIX and i want GCC 4.x to
work on a C++ project. i just use a Window Manager, xine-ui, firefox,
emacs, bash, gimp, audacious or xmms and nothing else. i don't use
Desktops.

Well, most of those applications will probably be available from pkgsrc and if not then some other workalike will be. And it's quite a good system to learn about UNIX on since it does not try to hide it's heritage like some Linux distros (Ubunto).


2.) how to rebuild the preview release for gcc4.x and how long this
process will be ?

It depends a bit on your computer and internet connection, but it can take a up to a couple of hours on a not to old PC.


3.) is it necessary to do this before rebuilding world:

cvs -d anoncvs@anoncvs.us.netbsd.org:/cvsroot co pkgsrc

even after 4 hours, it is still downloading packages :-(. is it
downloading the source code of every package ?

No, it's not necessary, in fact I would not do that at all if I were you. Using binary packages are much easier, see below for more info.


4.) DragonFlyBSd guide also advises to use "cvs up" after step 3. what
is it and how much time will that take ?

It downloads the DragonFly sourcecode to your computer so that you can compile it. If you have a slow connection you might want to download a compressed tarball of the sources instead of using cvsup. You can download tarballs from here: ftp://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/src


hmm.. this page gives lots of information tha i snot present in
"DragonFlyBSD handbook":

http://wiki.dragonflybsd.org/index.cgi/QuickStartBSDUser

Yes, the steps under Keeping up to date are good, but use the file


/usr/share/examples/cvsup/DragonFly-release1_8-supfile

or

/usr/share/examples/cvsup/DragonFly-preview-supfile

it you want preview. If you have a slow connection you might want to download a tarball as mentioned above.

For third party application don't follow what's written under Installing software, look at http://wiki.dragonflybsd.org/index.cgi/HowToPkgsrc and follow the steps under the section Pre-built pkgsrc packages, but use the addresses found on

ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/RELEASE/i386/All

if a package you want can't be found there take a look in

ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/RELEASE/i386/vulnerable

--
Erik Wikström



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]