Re: Tuning make.conf
Luca Presotto wrote: Hi everyone! I was starting to think to recompile everything for my pc to speed up everything. I started googling and I found almost nothing about how to change make.conf on bsd. Almost everything was about Gentoo, somehow not unsurprisingly. The first thing I noticed is that for linux all the instructions are about doing CFLAGS=" value" while it seems from /etc/share/examples/make.conf that in bsd I don't need ". Is it correct? Second question: If I set MAKEOPTS= -j 3 will that be used when portupgrading? (It's really to slow otherwise!) Third question...The most difficult..Which are the best flags for my machine? (freebsd 7.0-RELEASE with an intel centrino core2 duo) I have seen in the /examples/etc/make.conf that one of the possible "CPUTYPE" is core2 which looks to me as the right one but a geekier friend of mine that lives inside gentoo-linux told me that this option is unknown is gcc 4.2 and will be working from gcc4.3, so he told me to use "prescott". And what do I have to set to make gcc aware of the type of CPU I have? CPUTYPE= cpu and then CFLAGS= --O2 -pipe (etc..) or should I not write the cputype and then do: CLFAGS= -march=mycpu --O2 etc Can someone give me some advice on how to configure this file? Or can you provide me some documentation? Thank you! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" You're *really* wasting your time. The whole thing about those compiler optimizations is a myth. And most ports are already compiled with -O2 by default IIRC. But why would you spend two days compiling for a 0.1% speed increase? Your system is doing no cpu cycles at all for most of the time anyway. And I really wouldn't recommend aggressive optimizations for stuff like the kernel. Disabling unnecessary services or installing apps you often use without support for X and Y (like installing KDE or Gnome base, then the apps you *really* want on top of it) will give you much better performance than messing with CFLAGS and such. Also, makeopts and -pipe just make _compiling_ faster, not the applications themselves!!!. Please take a look at the following pages, they have a lot more information about this matter ;) http://funroll-loops.info/ http://bugs.gentoo.org/show_bug.cgi?id=74072 -- - Marcin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Question about freeBSD package.
On Thu, 2008-02-07 at 10:26 +0100, Daniele Di Lorenzo wrote: > Dear FreeBSD, > > I am writting you to ask what are the license terms about bjorb package, > downloaded from freeBSD site. > Is it under BSD license?...is it possible the redistribution for commercial > purpose? > in different way, can you tell me who I can contact to get infomation about? > > Thanks in advance > Daniele Di Lorenzo This is the full license from the source tarball; Copyright (c) 1997-1999 Hitachi Microsoftware Systems, Inc. All rights reserved. Permission to use, copy, distribute this software for non-commerical purpose, and to use, copy this software for commerical purpose is hereby granted without fee provided that the following conditions are satisfied: 1. The above copyright notice appear in all copies and that both that copyright notice and this permission notice and following disclaimer appear in the documentation and/or other materials provided with the distribution. 2. Neither the name of Hitachi Microsoftware Systems, Inc. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. 3. Redistribution of this software without modification is permitted if you don't charge a fee except for the physical act of transferring a copy. Redistribution of this software with modification for commerical purpose is not permitted. THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. HITACHI MICROSOFTWARE SYSTEMS, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HITACHI MICROSOFTWARE SYSTEMS, INC. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Note that this is not the BSD license and does not allow commercial (commerical??) redistribution with modification. It's written by some Japanese guy, Kenkichi Mahara <[EMAIL PROTECTED]>, you might as well ask him to fix his badly written license. - Marcin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"