#18 ar options not valid for OpenBSD

Code_Cleanup
closed
edge
None
5
2001-11-10
2000-11-16
edge
No

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.

Discussion

  • edge

    edge - 2000-11-16

    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.

     
  • edge

    edge - 2000-11-16
    • assigned_to: nobody --> edge
     
  • Matthew Emmerton

    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.

     
  • Matthew Emmerton

    • status: open --> closed
     
  • Matthew Emmerton

    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.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks