Menu

#2398 sdcc/support/cpp/Makefile.in hardcodes AR

closed-fixed
Ben Shi
None
other
5
2015-07-13
2015-07-13
No

all the subdirs respect the ar setting like here:

sdcc/device/lib/pic14/Makefile.in:AR = @AR@

but the main cpp dir does not:

sdcc/support/cpp/Makefile.in:AR = ar

Discussion

  • Mike Frysinger

    Mike Frysinger - 2015-07-13

    looks like sdcc/Makefile.common.in also needs a line like:

    AR = @AR@
    
     
  • Ben Shi

    Ben Shi - 2015-07-13

    I have fixed these spots in reversion #9285. Actually they were not bugs, since they caused neither wrong assembly code nor abnormal behaviours of sdcc.

     
  • Ben Shi

    Ben Shi - 2015-07-13
    • status: open --> closed-fixed
    • assigned_to: Ben Shi
     
  • Mike Frysinger

    Mike Frysinger - 2015-07-13

    remember that just because something doesn't show up in your specific system setup, it doesn't mean it's not a bug. ar does not behave the same on all systems and can be incompatible when trying to use a local GNU toolchain (but the host ar is older/incompatible). so yes, it was a bug in the sdcc build.

    thanks for fixing it.

     

Log in to post a comment.