Closed dlancer closed 6 years ago
I have to look into this before I make a decision but this is what I am thinking right now: by default I'd like sim-arduboy to link statically to the version of libsimavr it comes bundled with. If one day we added support for DEB packages then dynamic linking (with the right libsimavr version dependency) would make sense.
I can update my PR https://github.com/dxxb/sim-arduboy/pull/4 for static linking if you agree.
Thank you @dlancer but please hold that off until I had a chance of looking into this issue and test it myself.
Sure, no problem.
Current Makefile use dynamic linking, so before we can run
sim_arduboy
, compiled libsimavr library should be installed to system, because at least Ubuntu 18.04 still have outdated libsimavr package in the repository without atmega32u4 support.There is also two possible solutions without library installation:
Not sure if this should be mentioned to README or Makefile should be updated for Linux build...