The makefiles are generated with AR = ar and with options
cru. The when combined with the r flag, the c and u flags
require additional files. This probably should be changed
to AR = true when using OpenBSD.
Seems that at least in this Makefile ar will work _if_
libarch_a_OBJECTS is instantiated. This does not appear
to be working and that is why the make is breaking. I will
take this bug and look into it a little more.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I changed the code in arch/ to always compile a dummy
function for all platforms. This ensures that that ar will
always have at least one object file to put into the
library.
This eliminates the 'ar' problem on OpenBSD, and always
ensures that libarch.a exists, preventing link errors later.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I changed the code in arch/ to always compile a dummy
function for all platforms. This ensures that that ar will
always have at least one object file to put into the
library.
This eliminates the 'ar' problem on OpenBSD, and always
ensures that libarch.a exists, preventing link errors later.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seems that at least in this Makefile ar will work _if_
libarch_a_OBJECTS is instantiated. This does not appear
to be working and that is why the make is breaking. I will
take this bug and look into it a little more.
Logged In: YES
user_id=61514
I changed the code in arch/ to always compile a dummy
function for all platforms. This ensures that that ar will
always have at least one object file to put into the
library.
This eliminates the 'ar' problem on OpenBSD, and always
ensures that libarch.a exists, preventing link errors later.
Logged In: YES
user_id=61514
I changed the code in arch/ to always compile a dummy
function for all platforms. This ensures that that ar will
always have at least one object file to put into the
library.
This eliminates the 'ar' problem on OpenBSD, and always
ensures that libarch.a exists, preventing link errors later.