-
Notifications
You must be signed in to change notification settings - Fork 57
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
Fails to build with GNU as from binutils 2.35.1 #2
Comments
%dx
used with l
suffix" (etc.)%dx
used with l
suffix" (etc.)
|
%dx
used with l
suffix" (etc.)
Confirmed: gas from binutils 2.34 works. |
Try just not building the C code, since it was mostly written for the purpose of generating assembly that was really close to the contents of the sectorlisp.S file. Since the C code was used to generate really tiny real mode assembly, the C was written in a completely esoteric way. Contributions are welcome on fixing the C. Here's how you build just the S:
|
Also for the record:
If you really want to build the C code then there's prebuilt static toolchain binaries in this folder that are 100% guaranteed to work: https://github.com/jart/cosmopolitan/tree/master/third_party/gcc |
That fixed it, thanks!
IIUC, I think the problem is realify.sh and/or realify.sed not fixing
thanks, that would have helped me out earlier this afternoon. I tried blinkenlights, but the column containing the TELETYPEWRITER wasn't showing up for me in either cmd.exe or my WSL2 terminal (which I think is still a conhost terminal?). By the way, it might be useful to support getting the real mode output of the C compiler and document the process used to go from that output to sectorlisp.S. I screwed up an update in #4 that could have been avoided with a C patch + partial automation of the tuning. |
I wouldn't want to discourage you from using Blinkenlights! Try making the window bigger. Or making your font size smaller. Blinkenlights is designed to assume the terminal display is modern and huge. If there isn't enough room then Blinkenlights removes panels as a fallback measure. Ideally it'd have a visual cue for that. |
FWIW, this was default font size and full screen on Windows 10 at 1080p resolution. |
What compiler & version are you using?
The text was updated successfully, but these errors were encountered: