From: Kristian V. <kri...@xe...> - 2003-01-27 09:52:14
|
> Hi, > > It is sometimes useful to have a preprocessor definition for C/C++ code > to test whether it is being compiled on a Syllable system. I was not > able to find any such preprocessor definition in the gcc included with > Syllable. I did find __ATHEOS__, but nothing specific to Syllable. Does > it exist? <snip> > Could this be added to the next release of Syllable? Or are there any > problems I overlooked? Sorry I did not reply earlier :) A Syllable definition, as apposed to just one for AtheOS is becoming more and more important. I see no reason not to include your patch. I can't say when I shall have a new release of Gcc ready, though. I do not build Gcc as part of the normal build process! I notice that ALTOS and __ALTOS__ are also defined...should these be removed? I cannot think of anything that should still be using these (Ancient) definitions, although some deeply buried kernel or libatheos code may be, I guess. A good grep is in order ;D In addition, it some point we will change the output of uname -a to "Syllable", and not "AtheOS". This will break existing configure scripts as they check for "AtheOS"; it will be a period of chaos until packages pick up the updated config.guess and config.sub for Syllable. However, it does give us an advantage that we can identify Syllable features easier. I do not know when that will happen exactly, but it will probably be at the same time as we switch to Gcc 3.x (Probably the 0.5 release, maybe about 5 or 6 months from now) -- http://syllable.sourceforge.net http://www.liqwyd.com _____________________________________________________________________ This message has been checked for all known viruses by Xenicom delivered through the MessageLabs Virus Control Centre. |