What would be the best way to compile a project with GDC?
Johannes Pfau
nospam at example.com
Thu Aug 1 11:25:10 PDT 2013
Am Thu, 01 Aug 2013 19:46:05 +0200
schrieb "Gary Willoughby" <dev at nomad.so>:
> I've just finished a project in D and have been using rdmd to
> compile during testing. While this is nice, i now want to try
> other compilers to see if i get any speed gains.
>
> Because i use rdmd it takes care of passing everything to dmd.
> Now i want to try GDC and i need to pass the files in the correct
> order for compilation. I've first tried to write a bash script
> with all the files listed correctly and passed all the necessary
> flags to dmd but i can never get the order of the files correct.
>
> There must be a simpler way to pass these files to dmd in the
> right order? rdmd does it somehow.
>
> Any ideas? How do you handle compiling projects with 50+ source
> files?
Doesn't rdmd have a verbose flag or something to dump the executed
commands? Then you could just copy and paste it from there. You could
also try to make rdmd work with gdc but I think there was some problem
with rdmd and gdc.
More information about the Digitalmars-d-learn
mailing list