#2010 Build weird behaviour...

closed-duplicate
Build
5
2015-03-25
2012-04-17
No

SDCC : mcs51/gbz80/z80/z180/r2k/ds390/pic16/pic14/TININative/ds400/hc08 3.1.4 #7587 (Apr 17 2012) (Linux)

The following sd binutils: 'sdar, sdnm and sdranlib' builds fine and installs in default directory '/usr/local/bin/', but a directory at a weird location is also created and only sdnm is copied at that location: '/usr/local/<build>/bin/' in my case is that: '/usr/local/i386-linux-gnu/bin/'

'Makefile.in' located at './sdcc/support/sdbinutils/binutils' i found a strange piece of script:
variable 'TOOL_PROGS = sdnm ar ranlib', only sdnm exist... Latter two doesn't exist in default directory...
At end of 'Makefile.in' (i found mkinstalldirs bash file and a loop with 'sdnm ar ranlib' which leads to create and copy to a weird location...

I don't know exactly what the meaning is and i am content with the binaries in the default installation directory, so i did comment out the last part... (see uploaded Makefile.in)

Also: ' sudo make uninstall' does NOT remove the following files 'sdar sdnm sdranlib', that weird location and '/usr/local/share/sdcc/' directory.

cheers !!!

Discussion

  • J. van der Boon

    J. van der Boon - 2012-04-17

    changed Makefile.in (./sdcc/support/sdbinutils/binutils)

     
  • Borut Ražem

    Borut Ražem - 2012-05-06

    First part fixed in svn revision #7672.

    TODO: fix ' sudo make uninstall'

    Borut

     
  • Borut Ražem

    Borut Ražem - 2012-05-06
    • assigned_to: nobody --> borutr
     
  • Ben Shi

    Ben Shi - 2015-03-25
    • status: open --> closed-duplicate
    • Category: --> Build
     
  • Ben Shi

    Ben Shi - 2015-03-25

    The left "make uninstall" issue in this ticket, duplicates to bug #2039.

     

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

Sign up for the SourceForge newsletter:





No, thanks