[Gambas-user] BSD gambas compile
g4mba5 at gmail.com
Wed Dec 30 20:19:04 CET 2020
Le 30/12/2020 à 20:10, Bruce Steers a écrit :
> aah , now you tell me lol.
> okay point noted.
> On the plus side though i have BSD compiling up to date :)
> (well GhostBSD at least)
> I've encountered 3 issues with 3 fixes applied after getting the
> dependencies right...
> 1. trunk_version.h does not get created in ./main/
> fix: copy the trunk_version.h file from another source folder
No idea why.
> 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.
> 3. BSD rmdir command does not like the --ignore-non-empty flag in the
> makefiles (it does not use ANY -- prefixes)
> Fix: remove flag
Is there a flag that does the same thing as in Linux?
More information about the User