cpctelera icon indicating copy to clipboard operation
cpctelera copied to clipboard

Upgrade to SDCC 4.1.0

Open ghost opened this issue 3 years ago • 4 comments

Upgrade to SDCC 4.1.0

Only tested in linux on a x86_64 machine.

ghost avatar Mar 13 '21 17:03 ghost

I've tested this patch on my machines. unfortunately, tool building fails on both my linux and my w7cygnus (both of them run latest CPCtelera development ok) As my main machine is quite old I use an 64 bit Antix Linux (a lightweight Debian), which may have some common parts missing. I get this error: make[3]: *** No rule to make target '/home/nes/Baixades/cpctelera-sdcc-4.1.0/cpctelera/tools/sdcc-4.1.0/src/support/cpp/sdcpp.opt', needed by 's-options'. Stop.

On W7_64Cygwin I think the problem is that it needs package zlib. This Cygwin is quite old (also the pc is quite old, with connection issues), and I can't connect to cygwin repository for now, so I can't test to install that package: /home/nes/cpcdev/cpctelera/tools/sdcc-4.1.0/src/support/sdbinutils/bfd/compress.c:22:18: error fatal: zlib.h: No such file or directory

Building logs: W7_64_cygwin_tool_building.log Antix_tool_building.log

nestornillo avatar Mar 14 '21 12:03 nestornillo

For the second problem you should try to install libz-dev (if you could).

I will try to figure out your first problem.

ghost avatar Mar 14 '21 14:03 ghost

I found the problem, I will try to fix it in the next days.

ghost avatar Mar 14 '21 17:03 ghost

On my W7 PC i have updated Cygwin to a newer version so I can access to its packages now. After installing package zlib-devel now I get the same error as on Antix: W7cygwin_zlibdevel_tool_building.log If zlib is finally required, I would suggest to add zlib to setup initial checkings and to cygwin installation documentation

nestornillo avatar Mar 14 '21 18:03 nestornillo