Denny2399 8 Posted August 19, 2018 Share Posted August 19, 2018 Hello, is there a way to port a source so that it compiles on the newest version of freebsd? Also 64bit? Regards. Link to comment Share on other sites More sharing options...
Premium Jira 466 Posted August 19, 2018 Premium Share Posted August 19, 2018 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. 1 Link to comment Share on other sites More sharing options...
Premium masodikbela 1368 Posted August 19, 2018 Premium Share Posted August 19, 2018 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). 1 The one and only UI programming guideline Link to comment Share on other sites More sharing options...
IceShiva 151 Posted August 19, 2018 Share Posted August 19, 2018 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. 1 Link to comment Share on other sites More sharing options...
Denny2399 8 Posted August 22, 2018 Author Share Posted August 22, 2018 Thank you for your answers, really helpful #closed Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 658 Posted August 22, 2018 Forum Moderator Share Posted August 22, 2018 #closed on request Best regards Raylee Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now