sdcc binaries now packaged with z88dk nightly builds for win and mac

Announcements for z88dk releases
Post Reply
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

sdcc binaries now packaged with z88dk nightly builds for win and mac

Post by alvin »

The nightly builds for windows and mac osx are now completely self-contained such that compilation using sdcc as C compiler no longer requires separate installation of sdcc. Necessary patches have been applied to z88dk's sdcc binary. As usual, the sdcc binary has been renamed from "sdcc" to "zsdcc" so that a z88dk install does not interfere with an sdcc install.

z88dk is also now using sdcc's preprocessor for C code rather than z88dk's native preprocessor. A side effect is line numbers for errors reported by sdcc are now correct.
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

Post by alvin »

alvin wrote:z88dk is also now using sdcc's preprocessor for C code rather than z88dk's native preprocessor.
That is, for sdcc compiles.

Another side effect is that #asm and #endasm can no longer be used to inline asm in C functions. Instead only sdcc's __asm and __endasm; will work. Perhaps this will be patched in the future but the correct reporting of line numbers in C source is more important for users.
User avatar
dom
Well known member
Posts: 1194
Joined: Sun Jul 15, 2007 10:01 pm

Post by dom »

Actually, the very old #pragma asm/#pragma endasm will work with both compilers.
Post Reply