[openbeos] Re: Compiling Haiku On Windows...

  • From: Nathan Whitehorn <nathanw@xxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 18 Nov 2005 09:54:41 -0600

Ingo Weinhold wrote:

On Fri, 18 Nov 2005, Axel [iso-8859-15] Dörfler wrote:

Mathew Schofield <mr.skoe@xxxxxxxxx> wrote:

[...]

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
;;"]


I'm not really happy with Nathan's change for freebsd here. If it is a different platform, it should be identified respectively. There are only like five or six occurrences in build/jam/BuildSetup, where the platform is checked. Those should be extended to support new platforms.


I can pull it back out if you want. I had just assumed that 'linux' meant *nix (that, and I was lazy). I'll go take a look at the places it matter in a bit, and do the thing properly. I've also been having this problem compiling the crosstools on FreeBSD. Do you have any ideas to fix it?
-Nathan


gcc -DIN_GCC -DHAVE_CONFIG_H -O2 -I. -I.. -I/usr/home/nathanw/haiku/buildtools/gcc/gcc/fixinc -I/usr/home/nathanw/haiku/buildtools/gcc/gcc/fixinc/.. -I/usr/home/nathanw/haiku/buildtools/gcc/gcc/fixinc/../config -I/usr/home/nathanw/haiku/buildtools/gcc/gcc/fixinc/../../include -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o ../../libiberty/libiberty.a
echo timestamp > full-stamp
./fixincl -v < /dev/null
fixincl ERROR: cannot compile select test regex for hpux11_snprintf
expr = `(extern int snprintf *\(char *\*, *(|__|_hpux_)size_t,) *(char *\*, *\.\.\.\);)'
error empty (sub)expression



Other related posts: