Files
ldc/dmd
Frits van Bommel b3d87205ad Use LLVM-style command line (instead of DMD-style)
Note: For a backward compatible interface, use the new bin/ldmd script. It
      supports all old options while passing on anything it doesn't recognize.

Some changes caused by this:
* -debug and -version are now -d-debug and -d-version due to a conflict with
  standard LLVM options.
* All "flag" options now allow an optional =true/=1/=false/=0 suffix.
* Some "hidden debug switches" starting with "--" were renamed because LLVM
  doesn't care about the number of dashes, so they were conflicting with other
  options (such as -c).
  The new versions start with "-hidden-debug-" instead of "--"
* --help works, but has a non-zero exit code. This breaks some Tango scripts
  which use it to test for compiler existence. See tango.patch.

Some changes not (directly) caused by this;
* (-enable/-disable)-FOO options are now available for pre- and postconditions.
* -march is used instead of -m (like other LLVM programs), but -m is an alias
  for it.
* -defaultlib, -debuglib, -d-debug and -d-version allow comma-separated values.
  The effect should be identical to specifying the same option multiple times.
  I decided against allowing these for some other options because paths might
  contain commas on some systems.
* -fPIC is removed in favor of the standard LLVM option -relocation-model=pic

Bug:
* If -run is specified as the last argument in DFLAGS, no error is generated.
  (Not very serious IMHO)
2009-02-25 17:34:51 +01:00
..
2008-07-12 19:38:31 +02:00
2008-12-13 13:15:31 +01:00
2009-01-06 16:33:51 +01:00
2008-07-12 19:38:31 +02:00
2009-01-06 16:33:51 +01:00
2009-02-08 05:26:54 +01:00
2009-01-07 19:34:48 +01:00
2008-11-28 21:24:08 +01:00
2008-07-12 19:38:31 +02:00
2008-07-12 19:38:31 +02:00
2009-01-07 19:34:48 +01:00
2009-02-15 14:50:33 +01:00
2009-02-08 05:26:54 +01:00
2008-10-22 17:06:17 +02:00
2009-01-06 16:33:51 +01:00
2008-07-12 19:38:31 +02:00
2007-10-04 03:42:56 +02:00
2008-07-12 19:38:31 +02:00
2008-10-22 17:06:17 +02:00
2009-02-15 14:50:33 +01:00
2009-01-06 16:33:51 +01:00
2008-12-13 13:15:31 +01:00
2008-07-12 19:38:31 +02:00
2008-10-06 16:22:11 +02:00
2009-02-08 05:26:54 +01:00
2009-02-08 05:26:54 +01:00
2008-07-12 19:38:31 +02:00
2008-07-12 19:38:31 +02:00
2008-07-12 19:38:31 +02:00
2008-07-12 19:38:31 +02:00
2009-02-08 21:44:46 +01:00
2008-07-12 19:38:31 +02:00
2008-07-12 19:38:31 +02:00

		The D Programming Language
		Compiler Front End Source
		Copyright (c) 1999-2002, by Digital Mars
		www.digitalmars.com
		All Rights Reserved


This is the source code to the front end Digital Mars D compiler.
It covers the lexical analysis, parsing, and semantic analysis
of the D Programming Language defined in the documents at
www.digitalmars.com/d/

The optimizer, code generator, and object file generator are not part
of this source, hence the source does not currently constitute a complete,
compilable program. However, many people have expressed a strong interested
in producing a D compiler with the GNU compiler sources. This release should
enable that.

These sources are free, they are redistributable and modifiable
under the terms of the GNU General Public License (attached as gpl.txt),
or the Artistic License (attached as artistic.txt).

It does not apply to anything else distributed by Digital Mars,
including D compiler executables.

-Walter Bright