Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 638:94b01f15814f

Show
Ignore:
Timestamp:
10/01/08 21:38:29 (3 months ago)
Author:
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
branch:
default
Message:

Added FreeBSD support to the -t switch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dmd/mars.c

    r637 r638  
    189189                 x86 x86-64 ppc32 ppc64\n\ 
    190190  -t<os>         emit code specific to <os> being one of:\n\ 
    191                  Linux, Windows, MacOSX\n\ 
     191                 Linux, Windows, MacOSX, FreeBSD\n\ 
    192192\n\ 
    193193  -O             optimize, same as -O2\n\ 
     
    666666            else if(strcmp(p + 2, "MacOSX") == 0) 
    667667                global.params.os = OSMacOSX; 
     668            else if(strcmp(p + 2, "FreeBSD") == 0) 
     669                global.params.os = OSFreeBSD; 
    668670            else 
    669671                error("unrecognized target os '%s'", p + 2); 
Copyright © 2008, LDC Development Team.