Skip to content

Experimental FreeBSD support#8

Open
ppenzin wants to merge 1 commit intoedwardcrichton:masterfrom
ppenzin:freebsd-csh
Open

Experimental FreeBSD support#8
ppenzin wants to merge 1 commit intoedwardcrichton:masterfrom
ppenzin:freebsd-csh

Conversation

@ppenzin
Copy link
Contributor

@ppenzin ppenzin commented Feb 17, 2026

Add a case to ClientSocket.c to make sure it compiles. Add prototype for cuserid - newer Clang in FreeBSD rejects use without a prototype.

Update compilation scripts. Modern compilers require -fcommon to build this code.

There are a few places left where the platform is not correctly detected, but it appears that default assumptions work for now.

Add a case to ClientSocket.c to make sure it compiles. Add prototype for
cuserid - newer Clang in FreeBSD rejects use without a prototype.

Update compilation scripts. Modern compilers require -fcommon
to build this code.

There are a few places left where the platform is not correctly
detected, but it appears that default assumptions work for now.
@ppenzin
Copy link
Contributor Author

ppenzin commented Feb 17, 2026

This compiles and runs seemingly OK on new projects, but has some issues opening demo files on FreeBSD. Should not affect other platforms.

@edwardcrichton
Copy link
Owner

This compiles and runs seemingly OK on new projects, but has some issues opening demo files on FreeBSD. Should not affect other platforms.

What's the issue there do you know?

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.

2 participants