[pedevel] Build on Haiku

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: "Pe Develop" <pedevel@xxxxxxxxxxxxx>
  • Date: Tue, 12 Aug 2008 12:12:29 +0200 CEST

Hi there,

since the commit mailing list is currently down (another poor BerliOS 
performance), I wanted to notify that Pe can now be built on Haiku.
There's a caveat, however: bison seems to be very odd; the BeOS version 
created a header file named rez_parser.cpp.h, while the new one would 
create one called *.hpp. The newer bison allow to specify via the --
defines option how and where that file should be placed, so I used that 
(strangely, it seems to ignore the actual name I pass, but it always 
calls it .cpp.h then...).
The downside is that you now need to update your bison package under 
BeOS in order to still be able to compile Pe. However, there doesn't 
seem to be one available precompiled; to make it still buildable under 
BeOS, all you have to do is to replace the bison line in MainBuildRules 
with its previous contents.

If anyone has a better idea on how to solve this, please speak up :-)

If someone takes the time to compile a newer bison for BeOS and makes 
it available, I would then replace the --defines with the previous 
$(YACCFLAGS) again, and change the header rez_scanner.l includes to 
.hpp.

Bye,
   Axel.


Other related posts: