Jump to content
  • 0
Denny2399

solved Compiling source on newest FreeBSD

Question

Hello, is there a way to port a source so that it compiles on the newest version of freebsd? Also 64bit?
Regards.

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0
the project source is only available on 32-bit, you need rebuild the extern for 64-bit and in Makefile change -m32 with -m64 for working or you can also create the project with cmake cross-platform, it's easy.
  • Love 1

Share this post


Link to post
  • 0

Also note that on freebsd 64 bit with gcc the long's length is 64 bit, which is quite irritating when you want to send packets from the client to the server containing long (because they are 32 bits long) so therefore you have to replace the longs on serverside to int or replace the longs on clientside to long longs to match the packets size (only in the packets ofc).

  • Love 1

Share this post


Link to post
  • 0

If you want compile source to 64bit binary you need to change things at post above but if you want compile 32bit binary under x64 FreeBSD let use 32bit jail of FreeBSD inside x64 FreeBSD.

  • Love 1

Share this post


Link to post
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.