[Gambas-devel] Gambas Devel-branch on NetBSD 2.0/i386 nits

Brandon Bergren bdragon at ...185...
Tue Mar 15 01:49:08 CET 2005


I got gambas 1.9.3 to compile/run on netbsd/i386 v2.0.

The biggest issues:

1. gbi2 and gbx2 NEED to be compiled with -lpthread as a link option.

That's because, on NetBSD, if you dlopen() a threaded library from a 
single-threaded image, you will get a nasty crash.

2. If you are going to guess paths, you need these, too:
BIN:
/usr/pkg/bin
/usr/pkg/qt3/bin

INCLUDE:
/usr/pkg/include
/usr/pkg/qt3/include

LIB:
/usr/pkg/lib
/usr/pkg/qt3/lib

These are the main pkgsrc directories. (QT is stored seperate from 
everything else...)

3. net/curl #includes are really messy.
On netbsd, you get the correct path to curl includes automatically, but 
NOT the parent directory of that.

So, <curl/curl.h> is NOT reachable, but <curl.h> is.

4. memset() is in <string.h>.

--Brandon




More information about the Devel mailing list