GLBasic forum

Main forum => FAQ => Topic started by: diceless on 2012-Apr-14

Title: Is it possible to compile for BSD Natively? (Open/Free)
Post by: diceless on 2012-Apr-14
I know that it's a platform more obscure than linux and that it does have a linux compatibility layer but is it possible to compile programs for native BSD OS's in some way outside of or in addition to the built-in compiler?
Title: Re: Is it possible to compile for BSD Natively? (Open/Free)
Post by: Schranz0r on 2012-Apr-14
if linuxprograms run on that OS you can compile a simple linuxprogram...
I see no problem at all o.O
Title: Is it possible to compile for BSD Natively? (Open/Free)
Post by: Kitty Hello on 2012-Apr-14
Bsd should be elf,x86. So the Linux portmight run.
Title: Re: Is it possible to compile for BSD Natively? (Open/Free)
Post by: diceless on 2012-Apr-18
Quote from: Schranz0r on 2012-Apr-14
if linuxprograms run on that OS you can compile a simple linuxprogram...
I see no problem at all o.O

The compatibility layer works off of a certain kernel (I believe that it's still on 2.6x) and is still actively worked upon. It's not perfect but imagine it as being like WINE but with a much higher level of compatibility.

@Kitty Hello: I hope so. I dual boot Windows and Linux but many of the geeks and anime club members in my area are into BSD (usually PC-BSD). I'm really asked this question for a couple of them that saw me using GLBasic.
Title: Re: Is it possible to compile for BSD Natively? (Open/Free)
Post by: MrTAToad on 2012-Apr-18
I think I tried FreeBSD ages ago - the problem was getting the needed libraries, although only SDL should be needed now...