Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable FreeBSD build, fix #378 #565

Merged
merged 10 commits into from Jan 7, 2018
Merged

Enable FreeBSD build, fix #378 #565

merged 10 commits into from Jan 7, 2018

Conversation

illwieckz
Copy link
Contributor

@illwieckz illwieckz commented Aug 30, 2017

Tested on FreeBSD 11.1 and GCC 5 (default) and GCC 6 (and with GCC 8 with fix from #564).
Compilation went well for all the binaries provided by the repository.

q3map2 runs but I was not able to test radiant: I get an early segfault but it means nothing at this point: even the default provided gdb mismatches with the installed libstdc++ ¯\_(ツ)_/¯, so I'm even not able to debug: the distro seems borked.

Edit: it works once scons uses the system compiler (based on clang) instead of gcc.

It fixes #378.

@illwieckz illwieckz mentioned this pull request Aug 30, 2017
@illwieckz
Copy link
Contributor Author

I told scons to use the default FreeBSD's compiler (which is clang 4.0) and it build and runs. I got a GL crash but that's probably because I was running through an X11 Forwarding through an SSL tunnel without any direct rendering. 😁

Note: if a compilation was attempted with gcc first, you must delete site.sconf and clean the source tree doing scons -c before building again.

@illwieckz
Copy link
Contributor Author

It works:

GtkRadiant on FreeBSD
GtkRadiant on FreeBSD

@illwieckz illwieckz changed the title Enable FreeBSD build Enable FreeBSD build, fix #378 Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No FreeBSD support
2 participants