Commit Graph

11 Commits

Author SHA1 Message Date
Kelly Wilson
badb597962 Change the ldc.conf file output to match the newer Tango directory structure and only use libtango-user-ldc for the libs to match the 0.99.9 build instructions. 2010-03-10 20:21:05 -07:00
Moritz Warning
645a9d1229 missed ldcbinarypath => ldcbinarydir 2010-02-09 13:53:13 +01:00
Tomas Lindquist Olsen
152db286c0 Added a comment to the ldc.conf.in template about the %%ldcbinarydir%% "macro". 2009-05-18 15:08:46 +02:00
Christian Kamm
dfaba71dce Fix the ldcbinarypath config file rewriting. 2009-05-10 18:14:36 +02:00
Christian Kamm
ba95eab71f In config file: replace %%ldcbinarypath%% with the path to the ldc executable. 2009-05-10 17:58:09 +02:00
Frits van Bommel
80e8ea4792 Fix -g with default ldc.conf 2009-03-14 22:44:52 +01:00
Tomas Lindquist Olsen
43a070b0d3 Removed plain wrong note from ldc.conf.in, I never implemented that! 2009-03-12 21:04:27 +01:00
Tomas Lindquist Olsen
8b751cce0e - Updated to DMD frontend 1.041.
- Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
2009-03-12 20:37:27 +01:00
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
Christian Kamm
7e0c26329a Rename merged runtime to tango-base-ldc, #145. 2008-12-12 17:10:23 +01:00
Christian Kamm
375b6cd888 Apply Elrood's CMake changes from #124. Thanks a lot! 2008-11-24 18:17:58 +01:00