[Gambas-user] BSD gambas compile

Bruce Steers bsteers4 at gmail.com
Thu Dec 31 18:22:51 CET 2020

> 2. sys/sysmacros.h not found for gbx_c_file.c

> > fix: commented out the define line on line 35.
>> > (is there a way sysmacros.h can be ditched? maybe import the code?)
>> You can use an "#ifdef OS_BSD" to not include the file on BSD.
> Excellent , #ifndif even ;)

#ifndef even lol :)
I've fixed trunk_version.h problem here...
possibly not on bash on bsd, modified the if conditions format a little.

My todo list on perfecting the BSD compile is now this...
gotta go through the individual QT dependencies as installing just 'qt5'
installs LOADS, much not needed, 200mb of docs 120mb examples, etc. It
seemed useful as it also installed lots of other dependencies like llvm and
postgresql but i think it's be better to just get what's needed to reduce
downloads. (having just a base system and installing deps ate up a 20gb VM

All the best
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201231/384c73c2/attachment-0001.htm>

More information about the User mailing list