digitalmars.D.announce - dmd 1.043 alpha for FreeBSD 7.1
- Walter Bright (4/4) Apr 06 2009 Now works for FreeBSD 7.1!
- grauzone (2/2) Apr 06 2009 Yay!
- dsimcha (4/6) Apr 06 2009 I assume a 64-bit port would be significantly harder than the Mac or Fre...
- Jarrett Billingsley (4/10) Apr 06 2009 Or - cough, cough - using a different backend.
- Tim Matthews (3/7) Apr 06 2009 I use 64 bit freebsd too but thanks anyway.
- Walter Bright (2/3) Apr 07 2009 I suspect most FreeBSD users are using 64 bits.
- Tim Matthews (10/11) Apr 07 2009 On Tue, 07 Apr 2009 01:53:35 -0700
- Walter Bright (6/20) Apr 07 2009 No, there are no known issues. It passes the dmd test suite 100% as well...
- Tim Matthews (3/7) Apr 07 2009 Sorry didn't say I'd found any but will keep a look out for them.
- Ellery Newcomer (2/9) Apr 06 2009 awesome!
- Anders Bergh (6/10) Apr 07 2009 Now that there's four platforms supported it would be quite nice with
- zxp (6/13) Apr 09 2009 That's great! Thanks, Sir!
- Lars Ivar Igesund (10/11) Apr 14 2009 Nice!
- Tomas Lindquist Olsen (3/9) Apr 14 2009 And if not, why is there no Linux ? This is the obvious reason for
- Walter Bright (2/4) Apr 14 2009 Because gcc on linux predefines "linux", not "Linux".
- Tomas Lindquist Olsen (3/8) Apr 14 2009 It seems somewhat arbitrary, but fair enough..
- Walter Bright (2/11) Apr 14 2009 It's just one less thing to remember when switching between C and D.
- Tomas Lindquist Olsen (15/30) Apr 14 2009 After reading more, I just can't help but feel this is wrong.
- Walter Bright (15/31) Apr 14 2009 Microsoft predefines _WIN32 for Windows 64, too!
- Tomas Lindquist Olsen (15/47) Apr 14 2009 Agreed!
- Leandro Lucarella (16/34) Apr 15 2009 I agree. I think it should be all CamelCase or all lowercase. I prefer t...
- Michel Fortin (11/15) Apr 15 2009 It's defined(___APPLE__) && defined(__MACH__) that is used (not "or").
- Leandro Lucarella (9/36) Apr 15 2009 This is only true when no -std=xxx (where xxx is an standard version
- Jacob Carlborg (4/9) Apr 14 2009 I wouldn't consider this consistent, some version identifiers are named
- Christopher Wright (2/7) Apr 14 2009 Why not define both variants?
- Walter Bright (2/10) Apr 14 2009 Pointless clutter, and the inevitable time-wasting "which one should I u...
- cemiller (5/9) Apr 14 2009 How about just making version and debug identifiers case-insensitive?
- Walter Bright (3/6) Apr 14 2009 Because then I have to explain why some identifiers are case sensitive
- Daniel Keep (15/22) Apr 14 2009 Currently, you'll have to explain why one identifier is lowercase while
- Steven Schveighoffer (30/34) Apr 14 2009 Just so you know this argument is flawed. Although you are in your righ...
- Moritz Warning (5/10) Apr 14 2009 The way gcc does it looks like a historic legacy to me.
- Walter Bright (19/29) Apr 14 2009 FreeBSD is how it is normally written in the official FreeBSD
- Jacob Carlborg (7/42) Apr 14 2009 If you follow what's normally written in the official literature and
- Denis Koroskin (4/20) Apr 14 2009 I also wonder why it is OSX. Are versions prior to MacOS 10 (which is ma...
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (7/9) Apr 15 2009 All versions before Mac OS X 10.4 are "unsupported", even though
- Jacob Carlborg (3/31) Apr 15 2009 To my knowledge versions prior to MacOS 10 is not marketed as MacOS X.
- Walter Bright (2/5) Apr 14 2009 Move up a directory, and it's OSX, OSX, OSX.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (10/16) Apr 15 2009 I can only seem to find "Mac OS X", not "OSX" ?
- Walter Bright (5/7) Apr 14 2009 Perhaps. One could argue it either way. I checked the predefined
- Michel Fortin (19/27) Apr 14 2009 To me it's clear that Darwin is the core on which Mac OS X and iPhone
- Jarrett Billingsley (6/14) Apr 14 2009 Out of all the arguments put forth so far, I think this is the
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (6/20) Apr 15 2009 It's also possible that "Mac OS X" stays in, while Darwin changes...
- Walter Bright (13/17) Apr 15 2009 Predicting what Apple (or anyone else) will name their next OS is a
- Jacob Carlborg (10/18) Apr 15 2009 They call it "Mac OS", then they add a version like this: "Mac OS 9".
- Walter Bright (5/14) Apr 15 2009 Apple calls it "Mac OS X version 10.5".
- Jacob Carlborg (5/22) Apr 16 2009 About the "darwin" vs "OSX". There are other operating systems than Mac
- Walter Bright (3/7) Apr 16 2009 I wasn't aware of that. Would the OSX compiler and Phobos run out of the...
- Anders Bergh (7/15) Apr 16 2009 You could probably make dmd run on some GNU/Darwin, but it's sort of
- Walter Bright (3/7) Apr 16 2009 If dmd/phobos binaries for osx won't work on those machines, then it's
- BCS (2/5) Apr 16 2009 I'd assert the test should be if the systems are source code compatible.
- Frits van Bommel (4/12) Apr 16 2009 So you're saying version(linux) shouldn't be defined on PPC or ARM Linux...
- Walter Bright (2/17) Apr 16 2009 I meant if they were running on an x86 yet the binaries are different.
- Tomas Lindquist Olsen (3/23) Apr 17 2009 Isn't there powerpc osx as well ?
- Walter Bright (4/5) Apr 17 2009 Such should get OSX predefined as well as whatever is appropriate to
- Tomas Lindquist Olsen (5/11) Apr 17 2009 I'm aware of this. I was more wondering what system/logic you're using
- Anders Bergh (5/13) Apr 16 2009 The current dmd binaries would run and work on PureDarwin as long as
- Georg Wrede (10/26) Apr 16 2009 There's a good word for them. They're Good Marketers. Now, in an honest
- Robert Fraser (3/4) Apr 14 2009 In my collection (admittedly a small sample; 90 bands), only 6/13
- Walter Bright (7/12) Apr 14 2009 I salute you, sir, for actually doing some research on this important
- Lars Ivar Igesund (16/52) Apr 15 2009 I don't mind your conventions if DMD had pioneered these platforms, but ...
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (9/16) Apr 15 2009 One *could* argue the same thing about the introduced Posix identifier,
- Lars Ivar Igesund (4/17) Apr 16 2009 That is a fair question to bring up, although I never got the impression...
- Jordan Miner (5/6) Apr 15 2009 Please change the version identifier from linux to Linux.
- Tomas Lindquist Olsen (8/11) Apr 16 2009 I realise I probably did my part to spike this discussion.
- Leandro Lucarella (10/26) Apr 16 2009 This seems like a reasonable tradeoff, issuing a deprecation warning whe...
- Jordan Miner (4/19) Apr 19 2009 Yes, I definitely agree. By "change", I meant:
Now works for FreeBSD 7.1! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.043.zip The D2 version for FreeBSD isn't ready yet. Lots of library work to be done.
Apr 06 2009
Yay! But every time you give, we demand more. Where's dmd for 64 bit platforms?
Apr 06 2009
== Quote from grauzone (none example.net)'s articleYay! But every time you give, we demand more. Where's dmd for 64 bit platforms?I assume a 64-bit port would be significantly harder than the Mac or FreeBSD ports because it would require writing a whole new codegen, or at least heavily modifying the existing one.
Apr 06 2009
On Mon, Apr 6, 2009 at 9:20 AM, dsimcha <dsimcha yahoo.com> wrote:== Quote from grauzone (none example.net)'s articleOr - cough, cough - using a different backend. Which has already been done. Twice.Yay! But every time you give, we demand more. Where's dmd for 64 bit platforms?I assume a 64-bit port would be significantly harder than the Mac or FreeBSD ports because it would require writing a whole new codegen, or at least heavily modifying the existing one.
Apr 06 2009
On Mon, 06 Apr 2009 12:07:38 +0200 grauzone <none example.net> wrote:Yay! But every time you give, we demand more. Where's dmd for 64 bit platforms?I use 64 bit freebsd too but thanks anyway.
Apr 06 2009
Tim Matthews wrote:I use 64 bit freebsd too but thanks anyway.I suspect most FreeBSD users are using 64 bits.
Apr 07 2009
On Tue, 07 Apr 2009 01:53:35 -0700 Walter Bright <newshound1 digitalmars.com> wrote:I suspect most FreeBSD users are using 64 bits.There is a lot using 32bit if they need hardware accelerated nvidia graphics but yes the majority is probably using 64 bit. I tried compiling tango yesterday (with 'make runtime' from the ldc directory) and it would fail even after I'd applied all the not yet commited patches. It may build other ways but have not yet tried. Is there any known issues or not yet tested features of either dmd or phobos 1 on freebsd?
Apr 07 2009
Tim Matthews wrote:On Tue, 07 Apr 2009 01:53:35 -0700 Walter Bright <newshound1 digitalmars.com> wrote:No, there are no known issues. It passes the dmd test suite 100% as well as all the library unit tests. If you can isolate any of these down to dmd/phobos and post them to bugzilla, I would appreciate it as it will not only improve the FreeBSD port but will improve the test suite to aid in the rest of dmd development.I suspect most FreeBSD users are using 64 bits.There is a lot using 32bit if they need hardware accelerated nvidia graphics but yes the majority is probably using 64 bit. I tried compiling tango yesterday (with 'make runtime' from the ldc directory) and it would fail even after I'd applied all the not yet commited patches. It may build other ways but have not yet tried. Is there any known issues or not yet tested features of either dmd or phobos 1 on freebsd?
Apr 07 2009
On Tue, 07 Apr 2009 10:51:35 -0700 Walter Bright <newshound1 digitalmars.com> wrote:If you can isolate any of these down to dmd/phobos and post them to bugzilla, I would appreciate it as it will not only improve the FreeBSD port but will improve the test suite to aid in the rest of dmd development.Sorry didn't say I'd found any but will keep a look out for them.
Apr 07 2009
Walter Bright wrote:Now works for FreeBSD 7.1! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.043.zip The D2 version for FreeBSD isn't ready yet. Lots of library work to be done.awesome!
Apr 06 2009
Now that there's four platforms supported it would be quite nice with separate archives for each. .tar.gz for Linux, FreeBSD and OS X... .zip for Windows. 2009/4/6 Walter Bright <newshound1 digitalmars.com>:Now works for FreeBSD 7.1! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.043.zip The D2 version for FreeBSD isn't ready yet. Lots of library work to be done.-- Anders Bergh
Apr 07 2009
Walter Bright 写道:Now works for FreeBSD 7.1! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.043.zip The D2 version for FreeBSD isn't ready yet. Lots of library work to be done.That's great! Thanks, Sir! Maybe it's because of the DMD is packed with zip. After unzipped, it must run chmod +x dmd/freebsd/bin/dmd to make dmd working.
Apr 09 2009
Walter Bright wrote:Now works for FreeBSD 7.1!Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Apr 14 2009
On Tue, Apr 14, 2009 at 7:29 PM, Lars Ivar Igesund <larsivar igesund.net> wrote:Walter Bright wrote:And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Now works for FreeBSD 7.1!Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX
Apr 14 2009
Tomas Lindquist Olsen wrote:And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
On Tue, Apr 14, 2009 at 9:49 PM, Walter Bright <newshound1 digitalmars.com> wrote:Tomas Lindquist Olsen wrote:It seems somewhat arbitrary, but fair enough..And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
Tomas Lindquist Olsen wrote:On Tue, Apr 14, 2009 at 9:49 PM, Walter Bright <newshound1 digitalmars.com> wrote:It's just one less thing to remember when switching between C and D.Tomas Lindquist Olsen wrote:It seems somewhat arbitrary, but fair enough..And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
On Tue, Apr 14, 2009 at 11:51 PM, Walter Bright <newshound1 digitalmars.com> wrote:Tomas Lindquist Olsen wrote:After reading more, I just can't help but feel this is wrong. linux is still the only version identifier following this "logic". Comparing http://predef.sourceforge.net/preos.html and D: linux -> linux _WIN32 -> Win32 _WIN64 -> Win64 __FreeBSD__ -> FreeBSD __APPLE__ or __MACH__ -> OSX Even if you strip underscores, OSX and Win32/64 still don't match C/C++ identifiers. Why should linux be special? I realise this is a minor thing probably not worth the time it gets, but D seems to have a tendency to throw in inconsistencies in every crack there is to find ...On Tue, Apr 14, 2009 at 9:49 PM, Walter Bright <newshound1 digitalmars.com> wrote:It's just one less thing to remember when switching between C and D.Tomas Lindquist Olsen wrote:It seems somewhat arbitrary, but fair enough..And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
Tomas Lindquist Olsen wrote:After reading more, I just can't help but feel this is wrong. linux is still the only version identifier following this "logic". Comparing http://predef.sourceforge.net/preos.html and D: linux -> linux _WIN32 -> Win32 _WIN64 -> Win64Microsoft predefines _WIN32 for Windows 64, too! D: Windows: All members of the Windows family Win32: specific to Windows 32 Win64: specific to Windows 64 That seems sensible to me.__FreeBSD__ -> FreeBSDThe __ are ugly but necessary because of the C standard, but they are ugly and *unnecessary* for D.__APPLE__ or __MACH__ -> OSXApple has made many operating systems besides OSX, so __APPLE__ is out. I can't even remember which OS Mach is.Even if you strip underscores, OSX and Win32/64 still don't match C/C++ identifiers. Why should linux be special?Because the gcc macro suits the need perfectly. The others don't.I realise this is a minor thing probably not worth the time it gets, but D seems to have a tendency to throw in inconsistencies in every crack there is to find ...If gcc had any consistency, I'd use that. But it doesn't. It makes sense to use gcc's precedent when gcc makes sense, and to diverge when gcc does not make sense.
Apr 14 2009
On Wed, Apr 15, 2009 at 2:19 AM, Walter Bright <newshound1 digitalmars.com> wrote:Tomas Lindquist Olsen wrote:Agreed!After reading more, I just can't help but feel this is wrong. linux is still the only version identifier following this "logic". Comparing http://predef.sourceforge.net/preos.html and D: linux -> linux _WIN32 -> Win32 _WIN64 -> Win64Microsoft predefines _WIN32 for Windows 64, too! D: =C2=A0 Windows: All members of the Windows family =C2=A0 Win32: specific to Windows 32 =C2=A0 Win64: specific to Windows 64 That seems sensible to me.y__FreeBSD__ -> FreeBSDThe __ are ugly but necessary because of the C standard, but they are ugl=and *unnecessary* for D.Agreed!According to the site I linked __MACH__ and __APPLE__ are both for OSX, I guess that might be wrong, I've never really had to code for OSX. Still Apple call it "Mac OS X" so one could argue that "MacOSX" is a better identifier.__APPLE__ or __MACH__ -> OSXApple has made many operating systems besides OSX, so __APPLE__ is out. I can't even remember which OS Mach is.I simply don't agree here. To me, linux (as opposed to Linux) is a special case that I need to remember, the others follow a pattern.Even if you strip underscores, OSX and Win32/64 still don't match C/C++ identifiers. Why should linux be special?Because the gcc macro suits the need perfectly. The others don't.toI realise this is a minor thing probably not worth the time it gets, but D seems to have a tendency to throw in inconsistencies in every crack there is to find ...If gcc had any consistency, I'd use that. But it doesn't. It makes sense =use gcc's precedent when gcc makes sense, and to diverge when gcc does no=tmake sense.Maybe it makes sense to you. Not to me.
Apr 14 2009
Tomas Lindquist Olsen, el 15 de abril a las 02:26 me escribiste:I agree. I think it should be all CamelCase or all lowercase. I prefer the later because there are situations where CamelCase are not completely intuitive. For example: Osx or OSX? linux freebsd macosx windows win32 win64 Looks fine to me. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ----------------------------------------------------------------------------I simply don't agree here. To me, linux (as opposed to Linux) is a special case that I need to remember, the others follow a pattern.Even if you strip underscores, OSX and Win32/64 still don't match C/C++ identifiers. Why should linux be special?Because the gcc macro suits the need perfectly. The others don't.Maybe it makes sense to you. Not to me.I realise this is a minor thing probably not worth the time it gets, but D seems to have a tendency to throw in inconsistencies in every crack there is to find ...If gcc had any consistency, I'd use that. But it doesn't. It makes sense to use gcc's precedent when gcc makes sense, and to diverge when gcc does not make sense.
Apr 15 2009
On 2009-04-14 20:19:29 -0400, Walter Bright <newshound1 digitalmars.com> said:It's defined(___APPLE__) && defined(__MACH__) that is used (not "or"). Read it as "An Apple OS running the Mach kernel". Although to be presise, the kernel is XNU, which uses Mach at its core. <http://en.wikipedia.org/wiki/XNU> So... perhaps the version identifier should be "AppleMach". :-) No, seriously, OSX is fine by me. -- Michel Fortin michel.fortin michelf.com http://michelf.com/__APPLE__ or __MACH__ -> OSXApple has made many operating systems besides OSX, so __APPLE__ is out. I can't even remember which OS Mach is.
Apr 15 2009
Tomas Lindquist Olsen, el 15 de abril a las 01:45 me escribiste:On Tue, Apr 14, 2009 at 11:51 PM, Walter Bright <newshound1 digitalmars.com> wrote:This is only true when no -std=xxx (where xxx is an standard version withou GCC extensions) is specified. __linux__ (or __linux) is always defined. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ----------------------------------------------------------------------------Tomas Lindquist Olsen wrote:After reading more, I just can't help but feel this is wrong. linux is still the only version identifier following this "logic". Comparing http://predef.sourceforge.net/preos.html and D: linux -> linuxOn Tue, Apr 14, 2009 at 9:49 PM, Walter Bright <newshound1 digitalmars.com> wrote:It's just one less thing to remember when switching between C and D.Tomas Lindquist Olsen wrote:It seems somewhat arbitrary, but fair enough..And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 15 2009
Walter Bright wrote:Tomas Lindquist Olsen wrote:I wouldn't consider this consistent, some version identifiers are named after how it's written in the literature and some after what gcc predefines.And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
Walter Bright wrote:Tomas Lindquist Olsen wrote:Why not define both variants?And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
Christopher Wright wrote:Walter Bright wrote:Pointless clutter, and the inevitable time-wasting "which one should I use?"Tomas Lindquist Olsen wrote:Why not define both variants?And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
On Tue, 14 Apr 2009 12:49:02 -0700, Walter Bright <newshound1 digitalmars.com> wrote:Tomas Lindquist Olsen wrote:How about just making version and debug identifiers case-insensitive? Aren't they already in their own special namespace; they're special-case (pun intended).And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
cemiller wrote:How about just making version and debug identifiers case-insensitive? Aren't they already in their own special namespace; they're special-case (pun intended).Because then I have to explain why some identifiers are case sensitive and some or not for the next few decades. <g>
Apr 14 2009
Walter Bright wrote:cemiller wrote:Currently, you'll have to explain why one identifier is lowercase while the others are mixed case for the next few decades. I thought one of the big strengths of D was dropping compatibility where it made sense and improved things. No one is going to be copy+pasting C code into D complete with #ifdef's and expecting it to work. Aside from that, which of the following is easier to explain to programmers? "Platform version identifiers are mixed case and named for the consumer name of the platform. API version identifiers follow the same rule." "Platform version identifiers may be any case and are sometimes named after the identifier used in that platform's C compiler, possibly changed to remove underscores, unless we didn't like that identifier in which case we might be using another one. This made up one could be the name of the platform, the name of the OS, or something else." -- DanielHow about just making version and debug identifiers case-insensitive? Aren't they already in their own special namespace; they're special-case (pun intended).Because then I have to explain why some identifiers are case sensitive and some or not for the next few decades. <g>
Apr 14 2009
On Tue, 14 Apr 2009 15:49:02 -0400, Walter Bright <newshound1 digitalmars.com> wrote:Tomas Lindquist Olsen wrote:Just so you know this argument is flawed. Although you are in your right to select the identifier, you have based it on invalid logic. First, nobody can directly compile C code under D, especially with preprocessor logic. So right there, you already must change the code. Now, since you must change the code (and most places that are cross platform don't have simple #ifdef __linux, so global search/replace is no good), you have plenty of opportunity to change the identifier from __linux or linux to Linux. Next, you are inconsistent with other platforms. Windows Defines _WIN32, yet you use Win32, shouldn't you use WIN32 to be consistent with capitalization? You are selectively applying reasoning to justify inconsistent naming techniques. Just say "Because I'm Walter and I said so" and call it a day, or change it to the way it should be. Take the identifier name from where you want, but make the capitalization consistent. We have no legacy requirements here (read: D compiler does not have to compile C preprocessor code, I know there's lots of D code with version(linux) already, but now is the time to make a change, not later), and to make things not follow a consistent capitalization scheme makes it look like an error in the code. version(FreeBSD) version=v1; version(OSX) version=v2; version(Win32) version=v3; version(linux) version=v4; // huh? oh, the author must have made a capitalization error. If you need another reason, linux looks like 1inux in some fonts ;) BTW, when I started writing D code for multi-platform, I instinctively used version(Linux), but found out that was wrong by trial and error. -SteveAnd if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
On Tue, 14 Apr 2009 12:49:02 -0700, Walter Bright wrote:Tomas Lindquist Olsen wrote:The way gcc does it looks like a historic legacy to me. Ported code is ported - no reasonable programmer will just remove __ and go for it. Let's focus on practical means and consistency.And if not, why is there no Linux ? This is the obvious reason for GDC/LDC pick the lowercase identifiers in the first place ...Because gcc on linux predefines "linux", not "Linux".
Apr 14 2009
Lars Ivar Igesund wrote:Walter Bright wrote:FreeBSD is how it is normally written in the official FreeBSD literature, such as : http://www.freebsd.org/ Also, gcc on FreeBSD predefines __FreeBSD__ Clearly, FreeBSD is the term preferred by the FreeBSD community. The Mac OSX documentation does not refer to it as darwin, it normally refers to it as OSX. You have to work hard to find any references to darwin on the Apple web site. Nevertheless, "darwin" is predefined for legacy compatibility on the Mac dmd compiler. I was concerned that people would see "darwin" support and wonder what that is. OSX is an order of magnitude better known and associated with Apple. Macs are not called "darwins". I suspect we'd get real tired of saying "yes, darwin really means OSX." (As an aside, back in the 80's the ubiquitous and famous Wordstar program was produced by Micropro. Nobody could ever remember the company name. After many years of people assuming that Wordstar was made by Wordstar Inc. and fruitlessly trying to find Wordstar Inc., Micropro finally wised up and changed their name to Wordstar Inc. Also, note that most bands put out their first CD as a self-titled one.)Now works for FreeBSD 7.1!Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX
Apr 14 2009
Walter Bright wrote:Lars Ivar Igesund wrote:If you follow what's normally written in the official literature and documentation shouldn't it be "MacOSX" then?Walter Bright wrote:FreeBSD is how it is normally written in the official FreeBSD literature, such as : http://www.freebsd.org/Now works for FreeBSD 7.1!Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSXAlso, gcc on FreeBSD predefines __FreeBSD__ Clearly, FreeBSD is the term preferred by the FreeBSD community. The Mac OSX documentation does not refer to it as darwin, it normally refers to it as OSX. You have to work hard to find any references to darwin on the Apple web site. Nevertheless, "darwin" is predefined for legacy compatibility on the Mac dmd compiler.It depends on what documentation you read. http://developer.apple.com/documentation/Darwin/index.html In this documentation "Darwin" is all over the place.I was concerned that people would see "darwin" support and wonder what that is. OSX is an order of magnitude better known and associated with Apple. Macs are not called "darwins". I suspect we'd get real tired of saying "yes, darwin really means OSX." (As an aside, back in the 80's the ubiquitous and famous Wordstar program was produced by Micropro. Nobody could ever remember the company name. After many years of people assuming that Wordstar was made by Wordstar Inc. and fruitlessly trying to find Wordstar Inc., Micropro finally wised up and changed their name to Wordstar Inc. Also, note that most bands put out their first CD as a self-titled one.)And can't we just have all the version identifiers in lowercase.
Apr 14 2009
On Wed, 15 Apr 2009 01:48:00 +0400, Jacob Carlborg <doob me.com> wrote:Walter Bright wrote:I also wonder why it is OSX. Are versions prior to MacOS 10 (which is marketed as MacOS X) officially unsupported by D? It's also funny to see that Walter officially deprecates something that he didn't invent. Not that I complain about something, it's just a bit strange...Lars Ivar Igesund wrote:If you follow what's normally written in the official literature and documentation shouldn't it be "MacOSX" then?Walter Bright wrote:FreeBSD is how it is normally written in the official FreeBSD literature, such as : http://www.freebsd.org/Now works for FreeBSD 7.1!Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX
Apr 14 2009
Denis Koroskin wrote:I also wonder why it is OSX. Are versions prior to MacOS 10 (which is marketed as MacOS X) officially unsupported by D?All versions before Mac OS X 10.4 are "unsupported", even though you can make Mac OS X 10.3 limp along with an older GDC version*. Mac OS 9 is flat out, due to having the "wrong" processor (PPC) and no recent GCC. Oh, and the fact that it is also quite dead. --anders * http://prdownloads.sourceforge.net/gdcmac/gdc-0.21-mac-10.3.dmg
Apr 15 2009
Denis Koroskin wrote:On Wed, 15 Apr 2009 01:48:00 +0400, Jacob Carlborg <doob me.com> wrote:To my knowledge versions prior to MacOS 10 is not marketed as MacOS X. They're marketed as MacOS 9 (8 or what ever).Walter Bright wrote:I also wonder why it is OSX. Are versions prior to MacOS 10 (which is marketed as MacOS X) officially unsupported by D? It's also funny to see that Walter officially deprecates something that he didn't invent. Not that I complain about something, it's just a bit strange...Lars Ivar Igesund wrote:If you follow what's normally written in the official literature and documentation shouldn't it be "MacOSX" then?Walter Bright wrote:FreeBSD is how it is normally written in the official FreeBSD literature, such as : http://www.freebsd.org/Now works for FreeBSD 7.1!Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX
Apr 15 2009
Jacob Carlborg wrote:It depends on what documentation you read. http://developer.apple.com/documentation/Darwin/index.html In this documentation "Darwin" is all over the place.Move up a directory, and it's OSX, OSX, OSX.
Apr 14 2009
Walter Bright wrote:Jacob Carlborg wrote:I can only seem to find "Mac OS X", not "OSX" ? But the site _is_ divided into two OS sections, Mac OS X and iPhone OS, both of which are "OSX". (and also based on Darwin, e.g. what uname says) For instance wxWidgets is also using it: wxOSX*. * http://wiki.wxwidgets.org/Development:_wxMac with wxOSX_CARBON, wxOSX_COCOA, wxOSX_IPHONE So I suppose one can use "OSX" instead of "darwin". --andersIt depends on what documentation you read. http://developer.apple.com/documentation/Darwin/index.html In this documentation "Darwin" is all over the place.Move up a directory, and it's OSX, OSX, OSX.
Apr 15 2009
Jacob Carlborg wrote:If you follow what's normally written in the official literature and documentation shouldn't it be "MacOSX" then?Perhaps. One could argue it either way. I checked the predefined identifiers in gcc for guidance, and found just the unfortunately generic __APPLE__. I wish Apple would make up their mind what they wanted to call their OS.
Apr 14 2009
On 2009-04-14 17:56:51 -0400, Walter Bright <newshound1 digitalmars.com> said:Jacob Carlborg wrote:To me it's clear that Darwin is the core on which Mac OS X and iPhone OS are based on. Mac OS X looks like a marketing name to me; I wouldn't be surprised if in a few years it gets renamed to Mac OS XI, or something else, because Mac OS X 10.10 would sound bad, just as would Mac OS X 11. Perhaps we'll see Mac OS 11, iOS or something; whatever the change, the "X" part will have to move out at some point. I believe Darwin is a more stable identifier for the architecture than Mac OS X. But I also agree with Walter that it's probably not something a newbie to programming and/or the platform would expect. In the end, I think I'd choose Darwin because you want the identifier to represent the OS architecture, not all the higher-level features Apple has layered on top of it, and because most people interested in writing cross-patform code using Darwin/OSX-specific features will already know about Darwin. -- Michel Fortin michel.fortin michelf.com http://michelf.com/If you follow what's normally written in the official literature and documentation shouldn't it be "MacOSX" then?Perhaps. One could argue it either way. I checked the predefined identifiers in gcc for guidance, and found just the unfortunately generic __APPLE__. I wish Apple would make up their mind what they wanted to call their OS.
Apr 14 2009
On Tue, Apr 14, 2009 at 10:41 PM, Michel Fortin <michel.fortin michelf.com> wrote:To me it's clear that Darwin is the core on which Mac OS X and iPhone OS are based on. Mac OS X looks like a marketing name to me; I wouldn't be surprised if in a few years it gets renamed to Mac OS XI, or something else, because Mac OS X 10.10 would sound bad, just as would Mac OS X 11. Perhaps we'll see Mac OS 11, iOS or something; whatever the change, the "X" part will have to move out at some point. I believe Darwin is a more stable identifier for the architecture than Mac OS X.Out of all the arguments put forth so far, I think this is the strongest. OSX is just the name of Apple's 10th Mac OS. Why would we have version(OSX), but not version(WinXP), version(WinVista), version(LinuxUbuntuGutsy) etc. etc. etc.?
Apr 14 2009
Jarrett Billingsley wrote:Michel Fortin wrote:It's also possible that "Mac OS X" stays in, while Darwin changes... This already happened once before, to "Mac OS X Server" and Rhapsody.To me it's clear that Darwin is the core on which Mac OS X and iPhone OS are based on. Mac OS X looks like a marketing name to me; I wouldn't be surprised if in a few years it gets renamed to Mac OS XI, or something else, because Mac OS X 10.10 would sound bad, just as would Mac OS X 11. Perhaps we'll see Mac OS 11, iOS or something; whatever the change, the "X" part will have to move out at some point.It would be more like version(NT), if you want to compare with Windows ? GNU/Linux operating system versioning is a long sad story all by itself. --andersI believe Darwin is a more stable identifier for the architecture than Mac OS X.Out of all the arguments put forth so far, I think this is the strongest. OSX is just the name of Apple's 10th Mac OS. Why would we have version(OSX), but not version(WinXP), version(WinVista), version(LinuxUbuntuGutsy) etc. etc. etc.?
Apr 15 2009
Jarrett Billingsley wrote:Out of all the arguments put forth so far, I think this is the strongest. OSX is just the name of Apple's 10th Mac OS. Why would we have version(OSX), but not version(WinXP), version(WinVista), version(LinuxUbuntuGutsy) etc. etc. etc.?Predicting what Apple (or anyone else) will name their next OS is a waste of time. They'll do what they do, and D will try to make an appropriate accommodation. The reason why there is no WinXP is because people expect their windows apps to run on the gamut of windows versions, and if you're writing code dependent on a particular version of windows, you should do a runtime check for it (like is done in std.file). The same goes for Linux. Apple's OSs, on the other hand, do not engender an expectation to work that way. The fact that if you compile a "hello world" program in C using the default switches on OSX 10.5 produces a "bus error" when run on 10.4 illustrates a very different world from what I'm used to. As Apple upgrades OSX, I don't know what to expect. We'll see.
Apr 15 2009
Walter Bright wrote:Jacob Carlborg wrote:They call it "Mac OS", then they add a version like this: "Mac OS 9". Then when the tenth versions came it happened to be built on a nix base/core (known as darwin) and they also added the X (probably to reflect the new nix base, "X" is also ten using roman numerals) making it: "Mac OS X". They still call it "mac os ten" (though some people, including me, like to call it "mac os x" and pronounce the "x" as in the letter "x"). After the "x" they add a name to reflect the version i.e. "Leopard" for version 10.5. Sometimes they refer to the os version with the name and sometimes with the version number.If you follow what's normally written in the official literature and documentation shouldn't it be "MacOSX" then?Perhaps. One could argue it either way. I checked the predefined identifiers in gcc for guidance, and found just the unfortunately generic __APPLE__. I wish Apple would make up their mind what they wanted to call their OS.
Apr 15 2009
Jacob Carlborg wrote:They call it "Mac OS", then they add a version like this: "Mac OS 9". Then when the tenth versions came it happened to be built on a nix base/core (known as darwin) and they also added the X (probably to reflect the new nix base, "X" is also ten using roman numerals) making it: "Mac OS X". They still call it "mac os ten" (though some people, including me, like to call it "mac os x" and pronounce the "x" as in the letter "x"). After the "x" they add a name to reflect the version i.e. "Leopard" for version 10.5. Sometimes they refer to the os version with the name and sometimes with the version number.Apple calls it "Mac OS X version 10.5". There is little consistency in how Apple names their OSs, so there is no way to come up with a version identifier for it that is completely consistent.
Apr 15 2009
Walter Bright wrote:Jacob Carlborg wrote:About the "darwin" vs "OSX". There are other operating systems than Mac OS X that could use "darwin" as the version identifier if someone made a D compiler available. iPhone OS (this is just Mac OS X on the iphone and ipod thouch but it's called iPhone OS) and GNU/Darwin for example.They call it "Mac OS", then they add a version like this: "Mac OS 9". Then when the tenth versions came it happened to be built on a nix base/core (known as darwin) and they also added the X (probably to reflect the new nix base, "X" is also ten using roman numerals) making it: "Mac OS X". They still call it "mac os ten" (though some people, including me, like to call it "mac os x" and pronounce the "x" as in the letter "x"). After the "x" they add a name to reflect the version i.e. "Leopard" for version 10.5. Sometimes they refer to the os version with the name and sometimes with the version number.Apple calls it "Mac OS X version 10.5". There is little consistency in how Apple names their OSs, so there is no way to come up with a version identifier for it that is completely consistent.
Apr 16 2009
Jacob Carlborg wrote:About the "darwin" vs "OSX". There are other operating systems than Mac OS X that could use "darwin" as the version identifier if someone made a D compiler available. iPhone OS (this is just Mac OS X on the iphone and ipod thouch but it's called iPhone OS) and GNU/Darwin for example.I wasn't aware of that. Would the OSX compiler and Phobos run out of the box on them?
Apr 16 2009
On Thu, Apr 16, 2009 at 19:32, Walter Bright <newshound1 digitalmars.com> wrote:Jacob Carlborg wrote:You could probably make dmd run on some GNU/Darwin, but it's sort of dead. There's http://www.puredarwin.org/ but I'm not sure if it actually works yet. The iPhone is an ARM platform so dmd would certainly not work there... -- Anders BerghAbout the "darwin" vs "OSX". There are other operating systems than Mac OS X that could use "darwin" as the version identifier if someone made a D compiler available. iPhone OS (this is just Mac OS X on the iphone and ipod thouch but it's called iPhone OS) and GNU/Darwin for example.I wasn't aware of that. Would the OSX compiler and Phobos run out of the box on them?
Apr 16 2009
Anders Bergh wrote:You could probably make dmd run on some GNU/Darwin, but it's sort of dead. There's http://www.puredarwin.org/ but I'm not sure if it actually works yet. The iPhone is an ARM platform so dmd would certainly not work there...If dmd/phobos binaries for osx won't work on those machines, then it's appropriate to have a different version identifier.
Apr 16 2009
Hello Walter,If dmd/phobos binaries for osx won't work on those machines, then it's appropriate to have a different version identifier.I'd assert the test should be if the systems are source code compatible.
Apr 16 2009
Walter Bright wrote:Anders Bergh wrote:So you're saying version(linux) shouldn't be defined on PPC or ARM Linux systems? After all, dmd/phobos binaries for Linux won't run on them... (I agree with BCS; the test should be source code compatibility)You could probably make dmd run on some GNU/Darwin, but it's sort of dead. There's http://www.puredarwin.org/ but I'm not sure if it actually works yet. The iPhone is an ARM platform so dmd would certainly not work there...If dmd/phobos binaries for osx won't work on those machines, then it's appropriate to have a different version identifier.
Apr 16 2009
Frits van Bommel wrote:Walter Bright wrote:I meant if they were running on an x86 yet the binaries are different.Anders Bergh wrote:So you're saying version(linux) shouldn't be defined on PPC or ARM Linux systems? After all, dmd/phobos binaries for Linux won't run on them... (I agree with BCS; the test should be source code compatibility)You could probably make dmd run on some GNU/Darwin, but it's sort of dead. There's http://www.puredarwin.org/ but I'm not sure if it actually works yet. The iPhone is an ARM platform so dmd would certainly not work there...If dmd/phobos binaries for osx won't work on those machines, then it's appropriate to have a different version identifier.
Apr 16 2009
On Fri, Apr 17, 2009 at 5:38 AM, Walter Bright <newshound1 digitalmars.com> wrote:Frits van Bommel wrote:Isn't there powerpc osx as well ?Walter Bright wrote:I meant if they were running on an x86 yet the binaries are different.Anders Bergh wrote:So you're saying version(linux) shouldn't be defined on PPC or ARM Linux systems? After all, dmd/phobos binaries for Linux won't run on them... (I agree with BCS; the test should be source code compatibility)You could probably make dmd run on some GNU/Darwin, but it's sort of dead. There's http://www.puredarwin.org/ but I'm not sure if it actually works yet. The iPhone is an ARM platform so dmd would certainly not work there...If dmd/phobos binaries for osx won't work on those machines, then it's appropriate to have a different version identifier.
Apr 17 2009
Tomas Lindquist Olsen wrote:Isn't there powerpc osx as well ?Such should get OSX predefined as well as whatever is appropriate to identify the powerpc (X86 is predefined for 32 bit x86, X86_64 for 64 bit x86).
Apr 17 2009
On Fri, Apr 17, 2009 at 8:10 PM, Walter Bright <newshound1 digitalmars.com> wrote:Tomas Lindquist Olsen wrote:I'm aware of this. I was more wondering what system/logic you're using to decide these things... ! (sry, but it's a small - yet important detail it seems)Isn't there powerpc osx as well ?Such should get OSX predefined as well as whatever is appropriate to identify the powerpc (X86 is predefined for 32 bit x86, X86_64 for 64 bit x86).
Apr 17 2009
On Fri, Apr 17, 2009 at 02:18, Walter Bright <newshound1 digitalmars.com> wrote:Anders Bergh wrote:The current dmd binaries would run and work on PureDarwin as long as they don't use Cocoa or Carbon etc (which I doubt they do). -- Anders BerghYou could probably make dmd run on some GNU/Darwin, but it's sort of dead. There's http://www.puredarwin.org/ but I'm not sure if it actually works yet. The iPhone is an ARM platform so dmd would certainly not work there...If dmd/phobos binaries for osx won't work on those machines, then it's appropriate to have a different version identifier.
Apr 16 2009
Walter Bright wrote:Jacob Carlborg wrote:There's a good word for them. They're Good Marketers. Now, in an honest man's world that is equivalent with Good Liars. (The definition being, whenever a liar is good at achieving his goal, and at the same time avoiding accusations of lying, then he's a Good Liar. We had a discussion about this in Elementary School, on the school yard. Of course, the bigger boys won, but that didn't mean that the rest of us would forget it, ever.) So, in anticipation of how "the world goes", all we need is a table lookup. Apple this or that, translates to this or that Version.They call it "Mac OS", then they add a version like this: "Mac OS 9". Then when the tenth versions came it happened to be built on a nix base/core (known as darwin) and they also added the X (probably to reflect the new nix base, "X" is also ten using roman numerals) making it: "Mac OS X". They still call it "mac os ten" (though some people, including me, like to call it "mac os x" and pronounce the "x" as in the letter "x"). After the "x" they add a name to reflect the version i.e. "Leopard" for version 10.5. Sometimes they refer to the os version with the name and sometimes with the version number.Apple calls it "Mac OS X version 10.5". There is little consistency in how Apple names their OSs, so there is no way to come up with a version identifier for it that is completely consistent.
Apr 16 2009
Walter Bright wrote:Also, note that most bands put out their first CD as a self-titled one.In my collection (admittedly a small sample; 90 bands), only 6/13 self-titled albums are first albums.
Apr 14 2009
Robert Fraser wrote:Walter Bright wrote:I salute you, sir, for actually doing some research on this important topic! <g> Of course, the greatest band evar, Led Zeppelin, self-titled their first 3 albums. Chicago self-titled practically every one of their albums, and is "second only to the Beach Boys as the most successful American rock band of all time, in terms of both albums and singles" according to Amazon.Also, note that most bands put out their first CD as a self-titled one.In my collection (admittedly a small sample; 90 bands), only 6/13 self-titled albums are first albums.
Apr 14 2009
Walter Bright wrote:Lars Ivar Igesund wrote:I don't mind your conventions if DMD had pioneered these platforms, but it did not. FreeBSD breaks existing code, and so will OSX whenever darwin is removed. Now a developer already active on those platform is forced to somehow make sure both identifiers are in place until some unknown point in the future. Since the version identifiers have been established in GDC a very long time ago, and they do follow an acceptable convention, I find it very unnecessary to change that. As for the darwin vs OSX issue, what I heard is that darwin is technically the more correct one as it is with linux vs Ubuntu, Suse, etc. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoWalter Bright wrote:FreeBSD is how it is normally written in the official FreeBSD literature, such as : http://www.freebsd.org/ Also, gcc on FreeBSD predefines __FreeBSD__ Clearly, FreeBSD is the term preferred by the FreeBSD community. The Mac OSX documentation does not refer to it as darwin, it normally refers to it as OSX. You have to work hard to find any references to darwin on the Apple web site. Nevertheless, "darwin" is predefined for legacy compatibility on the Mac dmd compiler. I was concerned that people would see "darwin" support and wonder what that is. OSX is an order of magnitude better known and associated with Apple. Macs are not called "darwins". I suspect we'd get real tired of saying "yes, darwin really means OSX." (As an aside, back in the 80's the ubiquitous and famous Wordstar program was produced by Micropro. Nobody could ever remember the company name. After many years of people assuming that Wordstar was made by Wordstar Inc. and fruitlessly trying to find Wordstar Inc., Micropro finally wised up and changed their name to Wordstar Inc. Also, note that most bands put out their first CD as a self-titled one.)Now works for FreeBSD 7.1!Nice! But is there a particularly good reason for disregarding version identifiers already established by gdc and ldc? freebsd vs FreeBSD, darwin vs OSX
Apr 15 2009
Lars Ivar Igesund wrote:FreeBSD breaks existing code, and so will OSX whenever darwin is removed. Now a developer already active on those platform is forced to somehow make sure both identifiers are in place until some unknown point in the future. Since the version identifiers have been established in GDC a very long time ago, and they do follow an acceptable convention, I find it very unnecessary to change that.One *could* argue the same thing about the introduced Posix identifier, versus the already established Unix so I'm not sure it's entirelly fair to bash DMD doing the same thing as Tango had already done before it... http://www.prowiki.at/wiki4d/wiki.cgi?DocComments/Version (from 2005) Back in the day it made sense to have the "Windows" and "Unix" versions, and then the specific linux/darwin/freebsd/cygwin/solaris/skyos/etc OS. If starting over, then I suppose Posix and OSX and FreeBSD "work" too. --anders
Apr 15 2009
Anders F Bjrklund Wrote:Lars Ivar Igesund wrote:That is a fair question to bring up, although I never got the impression that Unix was well established (except possibly from you :) ). It was also a feeling back then that Unix probably didn't describe the features as well as Posix did (an established standard followed by a wider range of systems than the older unix standards, and some of those really not wanting to be Unices). Maybe there is also a difference between the time between 2005 and 6 and 2006 and 2009, but in the end it comes down to whether it makes sense to change the colour of this bikeshed (the Unix shed was larger and more visible and I claim it was worth the change); I don't think this change is worth it. Lars IvarFreeBSD breaks existing code, and so will OSX whenever darwin is removed. Now a developer already active on those platform is forced to somehow make sure both identifiers are in place until some unknown point in the future. Since the version identifiers have been established in GDC a very long time ago, and they do follow an acceptable convention, I find it very unnecessary to change that.One *could* argue the same thing about the introduced Posix identifier, versus the already established Unix so I'm not sure it's entirelly fair to bash DMD doing the same thing as Tango had already done before it...
Apr 16 2009
Walter Bright Wrote:Because gcc on linux predefines "linux", not "Linux".Please change the version identifier from linux to Linux. D is a chance to fix stuff wrong or inconsistent in other languages. C compilers may use inconsistent naming like __APPLE__, __MACH__, __linux, _WIN32, _WIN64, __FreeBSD__, etc. Why not take the opportunity to fix the inconsistency in addition to all the other improvements D has? The argument that it should be linux because of gcc does not apply to those who come from other languages. If someone is learning D after only knowing Java or don't care how gcc does it. I've never really used gcc. (Might even be harder to remember for people who used C a lot.) Is it more important to be consistent with gcc or with other D identifiers? Plus, how many people want it to be linux instead of Linux? From what I've seen, it seems the majority would prefer it being Linux.
Apr 15 2009
On Thu, Apr 16, 2009 at 1:08 AM, Jordan Miner <jminer2613 nospam.students.pcci.edu> wrote:Walter Bright Wrote:I realise I probably did my part to spike this discussion. However, given the complaints Walter got from adding the Posix identifier, removing "linux" is obviously a really bad idea. But I must say I think "Linux" should be added, and "linux" be there for legacy reasons, like "darwin" I guess. -TomasBecause gcc on linux predefines "linux", not "Linux".Please change the version identifier from linux to Linux.
Apr 16 2009
Tomas Lindquist Olsen, el 16 de abril a las 10:46 me escribiste:On Thu, Apr 16, 2009 at 1:08 AM, Jordan Miner <jminer2613 nospam.students.pcci.edu> wrote:This seems like a reasonable tradeoff, issuing a deprecation warning when the legacy version identifiers are used can be a good idea too, so people can update the code eventually and the redundant identifiers can be removed in the future. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ----------------------------------------------------------------------------Walter Bright Wrote:I realise I probably did my part to spike this discussion. However, given the complaints Walter got from adding the Posix identifier, removing "linux" is obviously a really bad idea. But I must say I think "Linux" should be added, and "linux" be there for legacy reasons, like "darwin" I guess.Because gcc on linux predefines "linux", not "Linux".Please change the version identifier from linux to Linux.
Apr 16 2009
Tomas Lindquist Olsen Wrote:On Thu, Apr 16, 2009 at 1:08 AM, Jordan Miner <jminer2613 nospam.students.pcci.edu> wrote:Yes, I definitely agree. By "change", I meant: - Add Linux as an identifier and deprecate linux. - Then, after a long enough time for everyone to switch to using Linux, remove linux.Please change the version identifier from linux to Linux.I realise I probably did my part to spike this discussion. However, given the complaints Walter got from adding the Posix identifier, removing "linux" is obviously a really bad idea. But I must say I think "Linux" should be added, and "linux" be there for legacy reasons, like "darwin" I guess. -Tomas
Apr 19 2009