I successfully compiled zsdcc on my linux laptop from scratch following the instructions.
The first "./configure" complained about missing gputils but instead of looking for that I just disabled the pic support with "./configure --disable-pic14-port --disable-pic16-port".
make will fail while trying to build some of the device libraries. This is fine. We're only interested in the sdcc and sdcpp binaries. If those are there, you're successful. Copy them to the z88dk/bin directory and rename them "zsdcc" and "zsdcpp" and you're done.
I started afresh this morning with a clear head and a lot less frustration. I still ended up at the same place as I did last night.
<Time passes...>
I found the problem. The sdcc compile was hitting what looked like warnings on texinfo:
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
I was ignoring those because they're rarely relevant and the build seemed to barrel on regardless. But it never produced the sdcc and sdcpp files in the bin directory:
>ls bin/
README sdcclib sdcdb
I tried with make -k and ended up with:
>ls bin/
as2gbmap packihx README sdas390 sdas6808 sdas8051 sdasgb sdasrab sdasstm8 sdastlcs90 sdasz80 sdcclib sdcdb sdld sdld6808 sdldgb sdldstm8 sdldz80
Closer, but still no cigar.
On a whim, I installed the texinfo tools, cleaned it all out and started again. This time it got a lot further before an obvious looking compilation failure, at which point I found the sdcc and sdcpp where there. I then got Blackstar to build without further problems.
So I think I'm good. Thanks for your help.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot