Am 21.07.2018 um 08:12 schrieb Georg Icking-Konert:
> hello all,
> 
> after upgrading my PC from Ubuntu 16.04 to 18.04 I re-installed SDCC
> from the the latest binary
> (https://sourceforge.net/projects/sdcc/files/sdcc-linux-x86/3.6.0/sdcc-3.6.0-i386-unknown-linux2.5.tar.bz2/download).
> Specifically I followed the instruction in INSTALL.txt, i.e. "sudo cp -r
> * /usr/local". But the following "/usr/local/bin/sdcc -v" only yields
> "bash: /usr/local/bin/sdcc: Datei oder Verzeichnis nicht gefunden" (=
> file or folder not found). Any idea what went wrong???
> 
> Thanks in advance and CU,
> Georg
> 
> PS: for now I installed sdcc via apt, which works well, but is "only"
> 3.5.0 (#9253).
> 

I have no idea what couldhave gone wrong. The cp is just a simple copy
command meant to copy the files into the /usr/local hierarchy. Maybe you
aqccidentially typed an additional space somewhere in the command? Was
there any error message from the sudo or cp? Maybe you forgot the "cd
sdcc-3.6.0"?

3.6.0 is two years old. 3.7.0 was released a few month ago as source
only, but especially on a GNU/Linux system, it should be easy to build
SDCC from source ("./configure" followed by "make" followed by "make
install" (this last one done as root)). If any dependencies are missing,
the error message from "./configure" should give enough information to
fix that. If you don't need the support for Microchip PIC, using
"./configure --disbale-pic14-port --disable-pic16-port" instead of plain
"./configure" results in less dependencies.

Philipp

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to