Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to SDCC 4.1.0 #125

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from
Draft

Upgrade to SDCC 4.1.0 #125

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 13, 2021

Upgrade to SDCC 4.1.0

Only tested in linux on a x86_64 machine.

@nestornillo
Copy link
Collaborator

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

@ghost
Copy link
Author

ghost commented Mar 14, 2021

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

I will try to figure out your first problem.

@ghost ghost marked this pull request as draft March 14, 2021 17:58
@ghost
Copy link
Author

ghost commented Mar 14, 2021

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

@nestornillo
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant