On Wed, 16 Sep 2009, Tamas TEVESZ wrote: hi,
> yup, my test builds include cross from linux to os2, dos, win and also > native linux (btw, linux native and os2 cross are still broken :). With default setting yes. You have to also set: export HB_BUILD_EXTDEF=no to disable code which looks for system header files because enabling -I/usr/include breaks any watcom builds - it uses own incompatible header files. It also allows to use hbpcre and hbzlib. The system wide are not compatible with OpenWatcom. Then you have to set: export HB_BUILD_DLL=no to disable harbour shared library creation or apply the patch I sent in message to Viktor which adds hbpcre and hbzlib to harbour shared library otherwise it fails creating harbour*.so. Finally you have to set: export HB_INC_SQLITE3=no or add this code to /external/sqlite3/Makefile[59]: ifeq ($(HB_COMPILER),watcom) ifeq ($(HB_PLATFORM),linux) # Watcom Linux builds cannot use system header files HB_CFLAGS += -DSQLITE_OS_OTHER endif endif and it should be enough. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour