LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-20-2014, 09:13 AM   #31
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483

Quote:
Originally Posted by lionoceros View Post
I've been spending some time using both Slackware and FreeBSD. In my experience, both have similar advantages. I find it hard to decide between the two because I feel I do not fully understand the benefits of each
philosophy and implementation.
That was always the question: VHS or Betamax? Bluray or HD-DVD?

As someone who used both and switched back and forth in the last two decades, from a technical standpoint I would say:

What was the biggest disadvantage of Slackware over FreeBSD back in the 90s? The Linux kernel.
What is the biggest advantage of Slackware over FreeBSD today? The Linux kernel.

Back in the early days Linux was a more or less experimental operating system, popular in the hobbyist scene with tinkerer hardware. FreeBSD had a more corporate background (Yahoo, WindRiver, cd-rom.com et al) due to its direct UNIX heritage and was popular for serving Web and FTP sites.

That was reflected by the hardware support: Linux supported every proprietary CD-ROM and popular sound cards, FreeBSD OTOH had excellent SCSI and NIC support (all these drivers got ported over Linux later). In the filesystem department ext2 was optimized for speed (and lost data on crashes), while UFS/FFS focused on stability and integrity, and therefore was slow on el-cheapo IDE hard drives (with disabled write caches).

By the end of the 90s IBM, Red Hat and Google changed the world and poured billions on Linux, so it made a huge step forward while FreeBSD development continued at the same pace. Linux improved a lot, got ported to dozens of platforms and became the most versatile operating system in history. FreeBSD continued to thrive due to its license and successfully occupied a niche.

So where are we now? Due to pure man-power, financial and corporate support Linux is more than a decade ahead of FreeBSD in development. So the main interesting thing is now the license: If you can't use Linux due to the GPL, the next best thing is FreeBSD. If the Linux ecosystems breaks apart due to init replacement wars: FreeBSD is your plan B.
 
3 members found this post helpful.
Old 01-21-2014, 12:06 AM   #32
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
FreeBSD 10.0 has been released.

http://www.freebsd.org/releases/10.0R/announce.html
 
Old 01-21-2014, 01:08 AM   #33
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 210

Rep: Reputation: 77
Quote:
Originally Posted by bmarley83 View Post
Hi, this sounds very interesting! Could you elaborate on this specifically and some steps I might take to accomplish such a task. Just for fun of coarse
It depends on what you wish to run. Some of this is an exercise to see which projects are of the "old guard," i.e., those that want open source to run in as many places as possible. So it kinda goes like this:

Start with your `make world` steps and get everything set up decently. Back it up. Leave the built source code there, in case you have to replace a program here or there.

Some programs will build from a base FreeBSD system. ntpd, smartmontools, and a few others will build from the base, and I think smartmontools might even provide an rc script. Nice! Give those programs bonus points and keep them close to heart for the extra effort!

Many programs want something GNU in there. Some configure scripts will ask for gettext, some will ask for GNU libiconv, libunistring, libsigsegv, so while building up the GNU stuff, get to them early to keep from rebuilding them later. For programs that overwrite BSD stuff, think about installing them elsewhere (--prefix=/somewhere-else) or with an added prefix (--program-prefix=g, for instance, to change sed to gsed). Get bash in there fairly quickly as well.

If you want the normal Slackware pkgtools in there, the scripts might take some work and modification. If nothing else, they refuse to work correctly with anything other than GNU ls.

Otherwise, the bottom part of the system is a judicious use of variables to see what is what. You might have to do set MAKE to "gmake" for many projects but not some others. BSD's M4 and awk implementations hold up fairly well, but there's something about GNU sed's behavior that can make a big difference when compiling GNU projects.

Also, I'm also looking to see what Clang will and will not build. It gets better with each release. That adds to the fun, even if it means failing and rebuilding using gcc sometimes. I'm doing that on Slackware right now. Cool stuff.

Along the way, you might adjust your make.conf or src.conf files (forget which) and have `make world` not build replaced items next time.

Last time I tried it (9.1), it's clear that the build process isn't being checked with a fresh gcc out of ports. Should you be curious as to how well a new gcc does on the base system, get ready to adjust some Makefiles and fix some code. gcc's diagnostics have improved quite a bit since 4.2.

Other pitfalls...some projects (like RPM) have something for FreeBSD, but it's like FreeBSD 4 or 5, and it causes more harm than good when getting it going. It was straight-up evil to build Mesa as well. Also, if you install the wrong things to /usr, mixed-up include files will make life harder, should you need to rebuild the world. I think that flex or bison burned me fairly well some years ago.

In other words, it's all good fun! It's educating and entertaining, and it will give you a great perspective on how each part of the open-source community is doing. It will also give you a refreshed appreciation for those who put ports and packages together and get things to work on alien systems.
 
2 members found this post helpful.
Old 01-21-2014, 02:16 AM   #34
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
Clang will build just about everything except a handful of projects on Linux. I don't know if there is a comprehensive list yet though. Perhaps someone would be kind enough to draft a complete list?

Last edited by ReaperX7; 01-21-2014 at 02:17 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
advantages/disadvantages of Slackware? maniac matt Slackware 51 04-17-2008 06:38 AM
I'm looking for the advantages of Slackware over Debian for . . . . . . . . sleekmason Linux - General 5 10-08-2006 10:45 PM
what bsd has on slackware? Nadim Slackware 2 05-06-2004 03:51 PM
advantages of BSD? shadowhunter *BSD 7 10-17-2003 08:53 PM
main advantages of Slackware monkeymartin Slackware 2 03-29-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration