Using the -I flag in Linux
Jarrett Billingsley
kb3ctd2 at yahoo.com
Thu Dec 27 10:10:22 PST 2007
"PaperPilot" <jaltman77096 at yahoo.com> wrote in message
news:fl0osg$1p1r$1 at digitalmars.com...
>
> Does this mean I still have to list all my object files on the command
> line? That could make quite a long entry.
>
Only if you don't compile the files that they come from.
i.e. this will work:
dmd file1.d file2.d
But if you compile them separately:
dmd file1.d -c
dmd file2.d file1.obj
or
dmd file1.d file2.d -c
dmd file1.obj file2.obj
So you only have to list object files of files you don't compile in the same
command.
This is no different from C or C++.
More information about the Digitalmars-d
mailing list