rotz icon indicating copy to clipboard operation
rotz copied to clipboard

FreeBSD Build?

Open fukawi2 opened this issue 1 year ago • 3 comments

Would it be possible to add a FreeBSD build to the next release? :)

fukawi2 avatar Jun 24 '24 05:06 fukawi2

Hey, we can definitely support freeBSD 😅

I think freebsd should probably be it's own os key like windows, linux and darwin but the unix family tree is a bit confusing ^^

Sadly, I could not get the FreeBSD crossbuild to work and I don't have any experience with it so I'll not be able to tacklet that myself.

volllly avatar Feb 27 '25 17:02 volllly

I think freebsd should probably be it's own os key like windows, linux and darwin but the unix family tree is a bit confusing ^^

I would have a lot of common configs between FreeBSD and Linux - I forget, but can we select multiple os keys when installing? (ie linux|freebsd:)

Sadly, I could not get the FreeBSD crossbuild to work and I don't have any experience with it so I'll not be able to tacklet that myself.

Damn, I was hoping ~go~rust would Just Work™ to cross-compile. If it's too complex, it's not a deal-breaker for me - I only have a couple of BSD hosts :)

fukawi2 avatar Feb 27 '25 23:02 fukawi2

I would have a lot of common configs between FreeBSD and Linux - I forget, but can we select multiple os keys when installing? (ie linux|freebsd:)

Yep multiple keys do work 😁 Are the file paths of config files usually the same as in linux? If there's not a lot of differences it's maybe enough to rely on the new advanced selectors to differentiate between them.

Anyways first step is to get a FreeBSD build and then we'll see if the need for a freebsd key arises.

To get a CI build we'll need to get cross to work.

Could you maybe try to just cargo build it on FreeBSD? If that works we know it's a problem with the cross setup.

volllly avatar Feb 28 '25 09:02 volllly