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 !!!
changed Makefile.in (./sdcc/support/sdbinutils/binutils)
First part fixed in svn revision #7672.
TODO: fix ' sudo make uninstall'
Borut
The left "make uninstall" issue in this ticket, duplicates to bug #2039.