[openbeos] Compiling Haiku On Windows...

Hi again!
Before i get started playing around with a Cirrus VGA Graphics driver,
and an IRC Client for Haiku, i would love to be able to compile Haiku
With Windows! Now, i'm pretty "slow" in some areas, but im trying...
Now, there is a utility for Windows called Cygwin which tries to give
Windows POSIX compatability (Amoung other things). It also allows
Unix/Linux apps to be compiled for Windows. I am currently setting up
cygwin to compile Haiku, and so far i have [slowly] managed to create
a toochain.
Next step is actually compiling haiku, and i have sort of ran into a
few "bumps", and what not.
1) Could someone please add "CYGWIN_NT-5.0" as a build target in the
configure script?
[ Just the same as fbsd/linux: "CYGWIN_NT-5.1) buildPlatform=linux ;;"]

2) In src/build/libroot/errors.cpp, could someone change
ADD_ERROR(ECANCELED);

 (About line 78) to

 #ifdef ECANCELED
  ADD_ERROR(ECANCELED);
 #endif

3) I'm getting a nothrow undeclared error in
"headers/build/private/app/MessageBody.h:148" and
"headers/build/private/app/MessageBody.h:443"

For some wierd reason no matter what i do (using std::nothrow, etc.)
it still says undeclared. "using namespace std;" is in the file, and
yet changing "nothrow" to "std::nothrow" fixes it! Why? (lol).

-=-=-

A Couple more errors that i have come across include "DEFFILEMODE",
"SEEK_CUR", and "ALLPERMS" aren't declared. Im actually thinking maybe
theres a missing include dir or something...



(Also, Really sorry for no Patches + lame probs, im still learning)

-=-=-

Also a non-windows related thing,
Running terminal within Terminal (ie. cd-ing to the bin dir and
running termainl) caused segment violation. (Just thought id mention
it...)
      "0x0025d01b in ServerWindow::SendMessageToClient ()"


--
Thank You
Mathew Schofield
mr.skoe@xxxxxxxxx

Other related posts: