State of TOOLSRC?
Hauke Fath <[email protected]> Tue, 4 Mar 2003 23:39:51 +0100
| Newsgroups | gmane.comp.db.sapdb.sources |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am currently looking into the sapdb/TOOLSRC directory, both as an exercise with the GNU auto* tools, and with an eye to attempting a NetBSD port. The tools under this directory are in an, um, interesting state. Two examples for many: (1) the toplevel configure.ac has a hand-crafted macro that bails out if C++ sizeof bool != 1. This is pretty unportable (sample: NetBSD/sparc - 4, NetBSD/macppc - 4, Apple MacOS X - 4) to probably any RISC cpu. If you need sizeof bool == sizeof char, you probably shouldn't use bool in that place, anyway. (2) ./sys/src/base has a 'Makedef.in' from which the configure script is expected to create a 'Makedef', but in the same directory there is already a 'Makedef' *directory* with sample Makedef.XXX files. Which makes for interesting error messages... So, TOOLSRC looks like it could use some work. Has the cvs source state ever built? Has it built on any cpu besides i386? On any OS besides a linux based one? Are there any guidelines on how to contribute to this area of the sapdb project? Where can I send patches, how should they be set up, how can I get an idea of overall structure? hauke -- /~\ The ASCII Ribbon Campaign \ / No HTML/RTF in email X No Word docs in email / \ Respect for open standards