-
Notifications
You must be signed in to change notification settings - Fork 139
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
AttributeError: 'SConsEnvironment' object has no attribute 'has_key': #47
Comments
I would try using Makefiles instead |
The Makefile uses the scons too, which show the same error! Do you success when using Makefile? |
This was built against the current scons version 12 years ago, the API looks very different now so would need patching to work with modern versions. |
after trying,I can compile it using arm-elf-gcc-4.7 on macos 13.0, but can't link it: ➜ openiBoot git:(master) ✗ /usr/local/Cellar/[email protected]/3.9.13_1/Frameworks/Python.framework/Versions/3.9/bin/scons iPodTouch1G can anyone help me,thanks a lot! |
so let us patch it, it would be a great thing! |
I'm suspicious that this flag ( |
➜ openiBoot git:(master) ✗ scons iPodTouch1G
scons: Reading SConscript files ...
AttributeError: 'SConsEnvironment' object has no attribute 'has_key':
File "/Users/lee/Desktop/Computer_Systems/xnu/openiBoot/SConstruct", line 23:
env = ARMEnvironment()
File "/Users/lee/Desktop/Computer_Systems/xnu/openiBoot/scons/ARMEnvironment.SConscript", line 18:
if not env.has_key("CROSS"):
➜ openiBoot git:(master) ✗ brew info scons
==> scons: stable 4.5.2 (bottled)
The text was updated successfully, but these errors were encountered: