digitalmars.D.learn - dsss with dmd2?
- Trass3r (4/4) Mar 30 2009 I got the dmd2 compiler in the PATH, thus dsss correctly uses phobos
- Frank Benoit (5/9) Mar 30 2009 It is set by the compiler. But dsss has an own D compiler included to
- Trass3r (4/8) Mar 30 2009 Yeah, but I thought rebuild just parses imports and stuff and then calls...
- Frank Benoit (5/14) Mar 30 2009 rebuild uses the dmd frontend, so it might also generate errors. And
- Trass3r (3/7) Mar 30 2009 Ah, now I get the point :)
I got the dmd2 compiler in the PATH, thus dsss correctly uses phobos imports and stuff from the dmd2 directory. BUT what it does not is setting the D_Version2 version??? Why does that happen, isn't that set by the compiler?
Mar 30 2009
Trass3r schrieb:I got the dmd2 compiler in the PATH, thus dsss correctly uses phobos imports and stuff from the dmd2 directory. BUT what it does not is setting the D_Version2 version??? Why does that happen, isn't that set by the compiler?It is set by the compiler. But dsss has an own D compiler included to retrieve the imports and pragmas. If you see error messages, they might come from the dsss internal DMD frontend. You can set the versions in the compiler profile, see dsss/etc/rebuild/
Mar 30 2009
Frank Benoit schrieb:It is set by the compiler. But dsss has an own D compiler included to retrieve the imports and pragmas. If you see error messages, they might come from the dsss internal DMD frontend. You can set the versions in the compiler profile, see dsss/etc/rebuild/Yeah, but I thought rebuild just parses imports and stuff and then calls dmd to compile all found files, thus D_Version2 should be set by dmd, shouldn't it?
Mar 30 2009
Trass3r schrieb:Frank Benoit schrieb:rebuild uses the dmd frontend, so it might also generate errors. And that errors might look exactly the same as those from dmd. And if the rebuild profile is not configured to have D_Version2 set, the frontend might lead you on the wrong track.It is set by the compiler. But dsss has an own D compiler included to retrieve the imports and pragmas. If you see error messages, they might come from the dsss internal DMD frontend. You can set the versions in the compiler profile, see dsss/etc/rebuild/Yeah, but I thought rebuild just parses imports and stuff and then calls dmd to compile all found files, thus D_Version2 should be set by dmd, shouldn't it?
Mar 30 2009
Frank Benoit schrieb:rebuild uses the dmd frontend, so it might also generate errors. And that errors might look exactly the same as those from dmd. And if the rebuild profile is not configured to have D_Version2 set, the frontend might lead you on the wrong track.Ah, now I get the point :) Thanks for your explanation.
Mar 30 2009