Thread overview
[Issue 1506] New: version(freebsd)
Sep 16, 2007
d-bugmail
Sep 16, 2007
d-bugmail
Sep 16, 2007
d-bugmail
Jun 04, 2011
Brad Roberts
September 16, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1506

           Summary: version(freebsd)
           Product: D
           Version: unspecified
          Platform: Other
               URL: http://www.digitalmars.com/d/1.0/version.html#version
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: sean@chittenden.org


Howdy.  I'm porting gdc to FreeBSD and would like to see version(freebsd) added to the 1.0 and 2.0 spec.  Thanks.  -sc


-- 

September 16, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1506





------- Comment #1 from sean@chittenden.org  2007-09-16 01:15 -------
s/gdc/tango/

Brain-o.


-- 

September 16, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1506





------- Comment #2 from afb@algonet.se  2007-09-16 02:16 -------
version(freebsd) is already covered in GDC, as a version(Unix) subset.

The D spec only includes those versions that are implemented by *DMD*. So platforms implemented by GDC (darwin/freebsd/solaris/cygwin) aren't.


It would be great if the spec could include them, but I'm not holding my breath... http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Version#ExtraPredefinedVersions

The D spec doesn't include other architectures (beyond x86/x64) either. If the D specification was distributable, we could make a GDC version...

But since it isn't, all that can be done about this is lobbying Walter.


-- 

June 04, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=1506


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |braddr@puremagic.com
         Resolution|                            |FIXED


--- Comment #3 from Brad Roberts <braddr@puremagic.com> 2011-06-03 22:18:57 PDT ---
The spec, for some time now, has had 'FreeBSD' as a documented version identifier:

http://www.d-programming-language.org/version.html#PredefinedVersions

It's also used by dmd for the freebsd releases.  The case is different than this bug asks for though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------