/etc/ldc2.conf is in ldc 1:1.8.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | // See comments in driver/config.d in ldc source tree for grammar description of
// this config file.
// The default group is required
default:
{
// default switches injected before all explicit command-line switches
switches = [
"-I/usr/include/d",
"-I/usr/lib/ldc/x86_64-linux-gnu/include/d/ldc",
"-I/usr/lib/ldc/x86_64-linux-gnu/include/d",
"-defaultlib=phobos2-ldc,druntime-ldc",
"-link-defaultlib-shared"
];
// default switches appended after all explicit command-line switches
post-switches = [
"-L-L/usr/lib",
];
};
|