z88dk forums

z80 Development Kit

You are not logged in.

  • Index
  •  » Announcements
  •  » sdcc binaries now packaged with z88dk nightly builds for win and mac

#1 2016-04-02 06:41:30

alvin
Administrator
Registered: 2007-07-16
Posts: 1522

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

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.

Offline

 

#2 2016-04-02 15:19:20

alvin
Administrator
Registered: 2007-07-16
Posts: 1522

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

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.

Offline

 

#3 2016-04-02 17:21:03

dom
Administrator
Registered: 2007-07-15
Posts: 966
Website

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

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

Offline

 
  • Index
  •  » Announcements
  •  » sdcc binaries now packaged with z88dk nightly builds for win and mac

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson