www.digitalmars.com         C & C++   DMDScript  

D - DIDE won't compile test project

reply John Reimer <jjreimer telus.net> writes:
I have the most up to date DIDE (0.97a, I believe).  When I make a 
sample project (DIG project, hello world), the project refuses to 
compile.  The compiler window states "Error: unrecognized switch '-o' " 
and stops.  The compiler line appears something like this:

c:\dmd\bin\dmd.exe -release -unittest -o -version=WindowsXP C:\blah\blah

The DMD compiler does not appear to have an -o option.  Why is it 
included here?  It's messing up the compile.

Hope this can be fixed!

John
Aug 14 2003
parent reply "Charles Sanders" <sanders-consulting comcast.net> writes:
-o is to tell DMD what executable to create, i think when digc recognizes
its on a winxp machine it adds teh version info automaticaly, I will fix it
thanks :).

Charles


"John Reimer" <jjreimer telus.net> wrote in message
news:bhh16v$101s$1 digitaldaemon.com...
 I have the most up to date DIDE (0.97a, I believe).  When I make a
 sample project (DIG project, hello world), the project refuses to
 compile.  The compiler window states "Error: unrecognized switch '-o' "
 and stops.  The compiler line appears something like this:

 c:\dmd\bin\dmd.exe -release -unittest -o -version=WindowsXP C:\blah\blah

 The DMD compiler does not appear to have an -o option.  Why is it
 included here?  It's messing up the compile.

 Hope this can be fixed!

 John

Aug 14 2003
parent reply Benji Smith <dlanguage xxagg.com> writes:
The DMD 0.69 compiler no longer has a -o switch. It's been replaced by
two or three (or four?) new switched. Check the D changelog for
details.

--Benji Smith

On Thu, 14 Aug 2003 18:16:29 -0700, "Charles Sanders"
<sanders-consulting comcast.net> wrote:

-o is to tell DMD what executable to create, i think when digc recognizes
its on a winxp machine it adds teh version info automaticaly, I will fix it
thanks :).

Aug 15 2003
parent John Reimer <jjreimer telus.net> writes:
Benji Smith wrote:
 The DMD 0.69 compiler no longer has a -o switch. It's been replaced by
 two or three (or four?) new switched. Check the D changelog for
 details.
 
 --Benji Smith

That was what I noticed too. I couldn't find the -o option in the compiler options log, so I was wondering why DIDE included it. I didn't realize that the option had been in earlier versions. Later, John
Aug 15 2003