Thread overview | |||||
---|---|---|---|---|---|
|
May 07, 2007 Error: multiple source files | ||||
---|---|---|---|---|
| ||||
Hi, I use dmd 1.0.12 and get an error I do not understand in this context: dmd version=Posix -ofsub/prog.o -c sub/prog.d Error: multiple source files, but only one .obj name What does this mean? I found the error message in mars.c, but couldn't figure out it's meaning so far. |
May 07, 2007 Re: Error: multiple source files | ||||
---|---|---|---|---|
| ||||
Posted in reply to mandel | mandel wrote:
> I use dmd 1.0.12 and get an error I do not understand in this context:
> dmd version=Posix -ofsub/prog.o -c sub/prog.d
> Error: multiple source files, but only one .obj name
>
> What does this mean?
> I found the error message in mars.c, but couldn't figure out it's meaning so far.
In this case, it means you forgot the '-' of -version=Posix ;).
The compiler is probably interpreting "version=Posix" as the name of an additional source file to compile.
|
May 08, 2007 Re: Error: multiple source files | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frits van Bommel | What a mistake.
When you believe your line is correct because it worked at another place, you don't believe it's actually a copy&paste error. :-)
Frits van Bommel Wrote:
> mandel wrote:
> > I use dmd 1.0.12 and get an error I do not understand in this context:
> > dmd version=Posix -ofsub/prog.o -c sub/prog.d
> > Error: multiple source files, but only one .obj name
> >
> > What does this mean?
> > I found the error message in mars.c, but couldn't figure out it's meaning so far.
>
> In this case, it means you forgot the '-' of -version=Posix ;).
>
> The compiler is probably interpreting "version=Posix" as the name of an additional source file to compile.
|
Copyright © 1999-2021 by the D Language Foundation