Author Topic: how to compile fluffos use visual c++ 6.0  (Read 2989 times)

Offline alexamud

  • Acquaintance
  • *
  • Posts: 12
    • View Profile
how to compile fluffos use visual c++ 6.0
« on: July 08, 2008, 09:33:06 PM »
how to compile fluffos use visual c++ 6.0
thanks

Kalinash

  • Guest
Re: how to compile fluffos use visual c++ 6.0
« Reply #1 on: July 08, 2008, 09:59:29 PM »
The short answer is that you can't.

FluffOS was written on and for Unix systems.  It uses many unix-isms that aren't supported in the Windows Platform SDK.  The only way to build it on and for Windows is to use a unix environment such as cygwin.

The is another option...  That would be to replace all the unixy stuff with the windows equivalents.  Or to create an abstraction layer between the platform specific code and the rest of the system.  But that code is so intertwined it would be a monumental task and really not worth the time given that there are alternatives to using VC++.

There is a windows package of Dead Souls in the download area here.  You can use that instead of compiling it yourself...

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: how to compile fluffos use visual c++ 6.0
« Reply #2 on: July 08, 2008, 10:07:09 PM »
Quote
a unix environment such as cygwin

Yep, FluffOS now compiles/run fine on Cygwin, thanks to some contributions from Tricky.

For Cygwin-compatible FluffOS source, see: http://lpmuds.net/files/driver/fluffos-2.11-ds13.tgz (or later versions).

You can also compile using MinGW. That's what I use for the executable in the
distribution. The advantage to MinGW is that you wind up with a binary that is
clean of GPL linkage. The disadvantage is that it's a horrendous pain to get
vanilla MinGW to compile FluffOS. You're much better off with Cygwin, unless
you're planning to make a distribution.

-Crat

Offline wodan

  • BFF
  • ***
  • Posts: 434
  • Drink and code, you know you want to!
    • View Profile
Re: how to compile fluffos use visual c++ 6.0
« Reply #3 on: July 09, 2008, 04:34:35 AM »
If you do decide to make it work with visual (I think it worked at some point in the past) please make it work on a more recent version, or it won't be much use to anyone!

Wodan.

Offline quixadhal

  • BFF
  • ***
  • Posts: 642
    • View Profile
    • WileyMUD
Re: how to compile fluffos use visual c++ 6.0
« Reply #4 on: July 13, 2008, 05:08:22 PM »
Amusing thought.

Write a "UNIX/C" language for the .NET system, which would essentially roll in much of what Cygwin has done, but hook it into the .NET libraries instead of cygwin.dll.

I keep meaning to learn .NET, but that's probably not a good starter project. *grin*