Slashdot Mirror


Building NetBSD Under Cygwin on Windows XP, PPC

Dan writes "John Gordon has completed a set of changes to the NetBSD build infrastructure that allows him to build at least two architectures (i386 and ibmnws platform, a PowerPC box) under Cygwin/Windows XP Home Edition and PowerPC. He has made a CVS patch for Cygwin, and provides instructions on the required configuration of Cygwin to avoid a problem with directory name clashes due to the case insensitive file system on Windows."

33 comments

  1. Really? by Anonymous Coward · · Score: -1
  2. *BSD IS DYING by Anonymous Coward · · Score: -1

    It is official; Netcraft confirms: *BSD is dying

    One more crippling bombshell hit the already beleaguered *BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming on the heels of a recent Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as fittingly exemplified by failing dead last [samag.com] in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin [amazingkreskin.com] to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood.

    FreeBSD is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time FreeBSD developers Jordan Hubbard and Mike Smith only serve to underscore the point more clearly. There can no longer be any doubt: FreeBSD is dying.

    Let's keep to the facts and look at the numbers.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS dilettante dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *BSD is dead.

    Fact: *BSD is dying

    1. Re:*BSD IS DYING by cheesekeeper · · Score: 1
      THE most popular *nix on the planet is a *BSD.

      OS X has Darwin underneath, and Darwin is a relative of FreeBSD. And guess who is the largest distributer of *nix in the world? Apple. Their market share may even be growing (although slowly). And if you're concerned about servers, keep in mind that every time an OS X user checks the "Personal Web Sharing" box in their preference panel, another *BSD box running Apache goes live for the world.

      I know it's not what you meant, but just keep in mind that *BSD is here to stay.

      --

      Best read in good ol' Monaco 9 point.

  3. Why? by Peapod · · Score: 0

    Why would you want to? I'm not sure I understand.

    -Peapod

    1. Re:Why? by Anonymous Coward · · Score: 3, Informative

      Think like an embedded systems company that wants to take advantage of NetBSD's excellent support for platforms like Hitachi Super-H, StrongArm, MIPS, and embedded PowerPC, but are themselves a Windows shop, and you'll see why this is a win...

      Remember that there are a lot of prototyping and testing tools out there that are currently windows-only, and it's thus a lot easier to sell some of these shops on OSS as a target OS than as a desktop platform...

      This may well change, but we aren't there yet...

    2. Re:Why? by Anonymous Coward · · Score: -1, Troll

      Mainframe history can be traced here: Mainframes

    3. Re:Why? by vesamies · · Score: 2, Interesting

      One reason I can think of is that, if you have fast Windows XP box and some weird machine running NetBSD which is not so fast, then using the latest and greatest sometimes requires compiling... Another reason is that in principle NetBSD should compile on any POSIX platform, I was not enough brave to dig into details why this was not possible earlier...

    4. Re:Why? by wolrahnaes · · Score: 3, Interesting

      Next time you want to ask that question, remember: This is slashdot. We do things because we can. In this case, as some of the other replies have pointed out, there are some practical uses. One that hasn't been pointed out is building under cygwin to run under bochs. Just because you wouldn't do it doesn't mean someone else can't.

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    5. Re:Why? by matts.nu · · Score: 1

      if you have fast Windows XP box...

      I have a VM on my fast XP gaming machine just for this reason, to compile stuff for my BSD server.

  4. Call me. by Anonymous Coward · · Score: -1

    Hi, my name is Melissa Spencer. I'm lonely. Please call me at 801-226-4142 and solve my problems.
    Also, I want to discuss the BSDs with anyone willing to talk. :D

    1. Re:Call me. by override11 · · Score: 2, Funny

      Can't call, its busy!
      Will try again later... Ohhh, BSD's.... I'm lonely too!!!

      --
      No I didnt spell check this post...
  5. wow by Anonymous Coward · · Score: -1, Offtopic

    Spencer, Michael & Susan 1814 Heather Dr OREM, UT 84097 801-226-4142 Its an actual home phone number! :) In the great state of Utah! :)
    Poor people.... the /. effect on their phone!

  6. WTF? -NT- by Anonymous Coward · · Score: -1, Offtopic

    no text

  7. XP on PowerPC? by marind · · Score: 0, Offtopic

    "under Cygwin/Windows XP Home Edition and PowerPC."
    This makes no sense. Windows XP ist an OS, PowerPC a processor. It should say: "You can build NetBSD for the i386 or a certain PowerPC Plattform under Windows XP on i386."

  8. teh geek manifesto )geek angst) by Anonymous Coward · · Score: -1, Troll

    Another one got caught today, it's all over the papers. "Geeks apprehended in Child Poronography Bust", "Geek publicy shamed after holding girl's hand." "Damn, shower-ridden geeks. They're all alike." But did you, in your three-piece psychology and 1950s technobrain, ever take a look behind the eyes of the geek? Did you ever wonder what made him suck cock, what forces shaped his penis so small, what may have molded him? I am a geek, enter my world. Mine is a world that begins with slashdot. I'm smarter than most of the other moderators, this crap they post bores me. "Damn goatse troll. They're all alike." I'm in by dark, cool basement. I've listened to those people with lives upstairs explain for the fifteenth time how to get some fine pussy. I understand it (not!). "No, Ms. Smith, I didn't take my acne medicine. CowboyNeal ate it." "Damn CowboyNeal. He probably did eat it. They're always gettin eaten by that tub-o-lard." I made a discovery today. I found a computer. Wait a second, this is cool. It does what I want it to. If it makes a mistake, it's because I screwed it up. Not because it doesn't like me, or feels threatened by me, or thinks I'm a smart ass, or doesn't like teaching and shouldn't be here. Damn geek. All he does his play games. They're all alike. And then it happened... goatse opened to the world...rushing through the phone line like heroin through an addict's veins, an electronic pulse is sent out, a refuge from day-to-day incompetencies is sought...slashdot is found. "This is it...this is where I belong..." I know everyone here...even if I've never met them, never talked to them, may never hear from them again...I know you all...Damn geeks. Stinking up the basement again. They're all alike...You bet your ass we're all alike...we've been spoon-fed baby food at school when we hungered for steak (not!)...the bits of meat that you did let slip through were later on stolen by CowboyNeal (true!). We've been dominated by sadists, or eaten by CowboyNeal. The few trolls that have something to teach found us willing pupils, but those few are like drops of water in the desert. This is our world now...the world of the electron and the switch, the beauty and the baud. We make use of a service already existing without paying for what could be dirt-cheap if it wasn't run by profiteering gluttons (ie, CowboyNeal), and you call us criminals. We explore...and you call us losers. We seek after knowledge...and you call us criminals. We exist without girlfriends, without nationality, without religious bias...and you call us criminals. You have girlfriends, you have suntans, you socialize, fuck, and lie to us and try to make us believe it's for our own good, yet we're the losers with friends like CowboyNeal. Yes, I am a geek. My crime is that of a loser. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive me for. I am a geek, and this is my manifesto. You may stop this individual, but you can't stop us all...after all, we're all horse cocks.

  9. Anatomy of failure : What Killed FreeBSD by Anonymous Coward · · Score: -1, Troll
    The End of FreeBSD

    [ed. note: in the following text, former FreeBSD developer Mike Smith gives his reasons for abandoning FreeBSD]

    When I stood for election to the FreeBSD core team nearly two years ago, many of you will recall that it was after a long series of debates during which I maintained that too much organisation, too many rules and too much formality would be a bad thing for the project.

    Today, as I read the latest discussions on the future of the FreeBSD project, I see the same problem; a few new faces and many of the old going over the same tired arguments and suggesting variations on the same worthless schemes. Frankly I'm sick of it.

    FreeBSD used to be fun. It used to be about doing things the right way. It used to be something that you could sink your teeth into when the mundane chores of programming for a living got you down. It was something cool and exciting; a way to spend your spare time on an endeavour you loved that was at the same time wholesome and worthwhile.

    It's not anymore. It's about bylaws and committees and reports and milestones, telling others what to do and doing what you're told. It's about who can rant the longest or shout the loudest or mislead the most people into a bloc in order to legitimise doing what they think is best. Individuals notwithstanding, the project as a whole has lost track of where it's going, and has instead become obsessed with process and mechanics.

    So I'm leaving core. I don't want to feel like I should be "doing something" about a project that has lost interest in having something done for it. I don't have the energy to fight what has clearly become a losing battle; I have a life to live and a job to keep, and I won't achieve any of the goals I personally consider worthwhile if I remain obligated to care for the project.

    Discussion

    I'm sure that I've offended some people already; I'm sure that by the time I'm done here, I'll have offended more. If you feel a need to play to the crowd in your replies rather than make a sincere effort to address the problems I'm discussing here, please do us the courtesy of playing your politics openly.

    From a technical perspective, the project faces a set of challenges that significantly outstrips our ability to deliver. Some of the resources that we need to address these challenges are tied up in the fruitless metadiscussions that have raged since we made the mistake of electing officers. Others have left in disgust, or been driven out by the culture of abuse and distraction that has grown up since then. More may well remain available to recruitment, but while the project is busy infighting our chances for successful outreach are sorely diminished.

    There's no simple solution to this. For the project to move forward, one or the other of the warring philosophies must win out; either the project returns to its laid-back roots and gets on with the work, or it transforms into a super-organised engineering project and executes a brilliant plan to deliver what, ultimately, we all know we want.

    Whatever path is chosen, whatever balance is struck, the choosing and the striking are the important parts. The current indecision and endless conflict are incompatible with any sort of progress.

    Trying to dissect the above is far beyond the scope of any parting shot, no matter how distended. All I can really ask of you all is to let go of the minutiae for a moment and take a look at the big picture. What is the ultimate goal here? How can we get there with as little overhead as possible? How would you like to be treated by your fellow travellers?

    Shouts

    To the Slashdot "BSD is dying" crowd - big deal. Death is part of the cycle; take a look at your soft, pallid bodies and consider that right this very moment, parts of you are dying. See? It's not so bad.

    To the bulk of the FreeBSD committerbase and the developer community at large - keep your eyes on the real goals. It'

  10. whats the point? by dizzy+tunez · · Score: 0, Offtopic

    What`s the point of /building/ NetBSD on WinXP/cygwin? Its not funny to build systems, the fun is to /install/ them. What the hell should i do with a lot of NetBSD binaries on my Windows system, i cant use netbsd on a fat/ntfs anyways can i?
    Is compiling the best use of our CPU?
    seti@home anyone?

    --
    "If you loved me, you`d all kill yourselves today"
    Spider Jerusalem
    1. Re:whats the point? by Jellybob · · Score: 1

      seti@home, also a great use of your Windows box.

      How about helping to cure cancer first?

  11. Speaking as an XP user by RLiegh · · Score: 1

    I think this could be neat if:

    A)if this could be used to set up, create and manipulate ufs/ffs partitions on your computer. (I know, highly unlikely)

    B)If the next step was to create windows binaries of the NetBSD system (to replace their GNU counterparts)

    Hell, it's neat regardless! Next, we need to have the guys at LFS add cygwin compatibility so I can truly build a linux from scratch!

    1. Re:Speaking as an XP user by ocelotbob · · Score: 1
      Creating *BSD binaries is already possible, even without this patch through tools such as pmake, or even building them without the use of a makefile. My system is a hybrid of BSD and GNU - the BSD utilities are usually smaller and faster, so I've installed the tools that provide the functionality I need yet are much quicker. Yeah, maintenence is a bit harder, but I'm tough enough and I'm geek enough to do it.

      As far as accessing UFS/FFS partitions goes, this patch isn't needed there. What you need to find out is if VMWare/Bochs can access raw disks from inside of windows. If it's possible, you'd need to be admin to run either VM system, but this patch isn't part of that process.

      --

      Marxism is the opiate of dumbasses

    2. Re:Speaking as an XP user by Anonymous Coward · · Score: 1, Informative

      You can create populated ffs file-system images on NetBSD using my /usr/sbin/makefs, even as a non-root user (i.e, create a file system with setuid files, devices, etc, as contents). In fact, this is how all of the ffs file system images for the install media (miniroots, ffs-inkernel-ramdisks, etc) were created for the NetBSD 1.6 (and later) releases.

      I know that this is not the same thing as *accessing* pre-existing ffs file systems directly on Windows NT/2000/XP, but it does cater for at least one reason why people would want to do that in a cross-build environment.

      (mmm, not needing root privileges or writable source to cross-build an entire NetBSD release.)

      Luke.
      NetBSD cross-build hacker.

  12. Anatomy of failure: What Killed FreeBSD by Anonymous Coward · · Score: -1, Troll
    The End of FreeBSD

    [note: in the following text, former FreeBSD developer Mike Smith gives his reasons for abandoning FreeBSD]

    When I stood for election to the FreeBSD core team nearly two years ago, many of you will recall that it was after a long series of debates during which I maintained that too much organisation, too many rules and too much formality would be a bad thing for the project.

    Today, as I read the latest discussions on the future of the FreeBSD project, I see the same problem; a few new faces and many of the old going over the same tired arguments and suggesting variations on the same worthless schemes. Frankly I'm sick of it.

    FreeBSD used to be fun. It used to be about doing things the right way. It used to be something that you could sink your teeth into when the mundane chores of programming for a living got you down. It was something cool and exciting; a way to spend your spare time on an endeavour you loved that was at the same time wholesome and worthwhile.

    It's not anymore. It's about bylaws and committees and reports and milestones, telling others what to do and doing what you're told. It's about who can rant the longest or shout the loudest or mislead the most people into a bloc in order to legitimise doing what they think is best. Individuals notwithstanding, the project as a whole has lost track of where it's going, and has instead become obsessed with process and mechanics.

    So I'm leaving core. I don't want to feel like I should be "doing something" about a project that has lost interest in having something done for it. I don't have the energy to fight what has clearly become a losing battle; I have a life to live and a job to keep, and I won't achieve any of the goals I personally consider worthwhile if I remain obligated to care for the project.

    Discussion

    I'm sure that I've offended some people already; I'm sure that by the time I'm done here, I'll have offended more. If you feel a need to play to the crowd in your replies rather than make a sincere effort to address the problems I'm discussing here, please do us the courtesy of playing your politics openly.

    From a technical perspective, the project faces a set of challenges that significantly outstrips our ability to deliver. Some of the resources that we need to address these challenges are tied up in the fruitless metadiscussions that have raged since we made the mistake of electing officers. Others have left in disgust, or been driven out by the culture of abuse and distraction that has grown up since then. More may well remain available to recruitment, but while the project is busy infighting our chances for successful outreach are sorely diminished.

    There's no simple solution to this. For the project to move forward, one or the other of the warring philosophies must win out; either the project returns to its laid-back roots and gets on with the work, or it transforms into a super-organised engineering project and executes a brilliant plan to deliver what, ultimately, we all know we want.

    Whatever path is chosen, whatever balance is struck, the choosing and the striking are the important parts. The current indecision and endless conflict are incompatible with any sort of progress.

    Trying to dissect the above is far beyond the scope of any parting shot, no matter how distended. All I can really ask of you all is to let go of the minutiae for a moment and take a look at the big picture. What is the ultimate goal here? How can we get there with as little overhead as possible? How would you like to be treated by your fellow travellers?

    Shouts

    To the Slashdot "BSD is dying" crowd - big deal. Death is part of the cycle; take a look at your soft, pallid bodies and consider that right this very moment, parts of you are dying. See? It's not so bad.

    To the bulk of the FreeBSD committerbase and the developer community at large - keep your eyes on the real goals. It's wh

  13. Virtual PC? Gentoo Linux PPC! by axxackall · · Score: 1
    He forgot to mention that on his PPC with OSX he was running Virtual PC, which was running Windows XP, which was running Cygwin, which was building NetBSD. Or man, some people are doing very crazy things to their computers!

    I wonder, why not run just Gentoo Linux PPC on that box? Just run it. No building of NetBSD even will be required - you will be happy emergeing Gentoo packages already!

    --

    Less is more !
    1. Re:Virtual PC? Gentoo Linux PPC! by Anonymous Coward · · Score: 0

      except gentoo is as stable as windows.

    2. Re:Virtual PC? Gentoo Linux PPC! by Anonymous Coward · · Score: 0

      Gentoo's only unstable if you do not understand that -O9 -fomit-everything-possible will make it unstable.

    3. Re:Virtual PC? Gentoo Linux PPC! by Bert64 · · Score: 1

      I would imagine NetBSD would build just fine under OSX natively anyway!

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  14. Why? Distcc by Anonymous Coward · · Score: 0

    I do distributed builds for the Linux target using distcc across many machines including cygwin boxes with x86 Linux cross compilers. Why? Because the Windows boxes we have are generally faster than the Linux boxes we have and are idle most of the time anyway.

  15. Elegy for *BSD by Anonymous Coward · · Score: -1, Troll

    Elegy for *BSD


    I am a *BSD user
    and I try hard to be brave
    That is a tall order
    *BSD's foot is in the grave.

    I tap at my toy keyboard
    and whistle a happy tune
    but keeping happy's so hard,
    *BSD died so soon.

    Each day I wake and softly sob
    Nightfall finds me crying
    Not only am I a zit faced slob
    but *BSD is dying.

  16. You know what really sucks about windows? by drinkypoo · · Score: 2, Informative

    Even with cygwin you cannot create or properly handle a file with a reserved name, such as aux, nul, com1, con, et cetera. So when you try to extract the "aux" dir, or files like aux.h or aux.c which are fairly commonly used names in source trees apparently, tar chokes and fails to extract the file. In order to compile some software I've had to extract files like aux.h as winaux.h (arbitrary filename I chose) and then edit makefiles, cfiles which include it, etc.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:You know what really sucks about windows? by Anonymous Coward · · Score: 0

      Microsoft's "Services for Unix" (SFU) 3.0 solves this issue.

    2. Re:You know what really sucks about windows? by Mistah+Blue · · Score: 1

      It works on both W2K Pro and WinXP Pro. My source is the MS website for SFU (sorry don't have link handy).

  17. Elegy for *BSD by Anonymous Coward · · Score: -1, Troll

    Elegy For *BSD


    I am a *BSD user
    and I try hard to be brave
    That is a tall order
    *BSD's foot is in the grave.

    I tap at my toy keyboard
    and whistle a happy tune
    but keeping happy's so hard,
    *BSD died so soon.

    Each day I wake and softly sob
    Nightfall finds me crying
    Not only am I a zit faced slob
    but *BSD is dying.

  18. Uh, MS "Services for UNIX 3.0" ... demo available by UNIBLAB_PowerPC · · Score: 1

    I was about to mention SFU3 and noticed that an AC beat me to the punch -- but only because it was an insert in this month's Sysadmin Magazine (which totally threw me for a loop -- MS bought the centerfold spread and paid for a demo CD -- I sure hope they ended up picking up the entire tab for this month's production costs). One thing I noticed on the SFU3 CD jacket -- and bear with me because didn't see any fine print and haven't actually looked at the CDs contents yet -- is that it appears that MS is selling SFU3 as an add-on component for Windows. I'm curious if it requires Win2K Server (any of the family) or will also install on Win2K Pro and WinXP Pro. Does anyone know what the deal is, because this should solve his file name problem? That is, if the fine print doesn't say otherwise ... and yeah, I could go google the answer, but why bother, because I probably won't buy this when I can do it another way for free.