News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

D Language - Digital Mars - error apears

Started by codemania, December 23, 2006, 03:26:04 PM

Previous topic - Next topic

codemania

Hi!

I unzip dmd.zip to C:
I create a "D Application" with "Digital Mars" by wizard. I select "Release".

The message error is - " Error: -o no longer supported, use -of or -od"

thanks

killerbot

Quote from: codemania on December 23, 2006, 03:26:04 PM
Hi!

I unzip dmd.zip to C:
I create a "D Application" with "Digital Mars" by wizard. I select "Release".

The message error is - " Error: -o no longer supported, use -of or -od"

thanks

could you explain here what it should be and how it works. So we don't need to study D ;-)

peso

The DMD compiler is under development, so it is a moving target.  :)

To determine what commandline your version of CodeBlocks uses, enable full logging:

Settings -> Compiler and debugger
Selected compiler = Digital Mars D Compiler
Tab "Other"
Compiler logging = Full command line

My version of CB (svn 3295) uses "-ofobj\Debug\hello.obj" for the hello-world example produced by the wizard, which makes me think that you should probably just download a fresh nightly of CB.

I'm using DMD version 0.173

Regards,

killerbot

you can also check the advanced options of the compiler, when we fix something there, the fix won't work unless you either :
- remove your default.conf (that's were all those things get stored on first CB run)
- edit your default.conf for the specific part (?? or maybe just remove the D part in it ??)

codemania

#4
Hello World!

Now It's Work very well.

I installed version DMD 1.00 and DMC, I used the same method like last time and similar problems apears.
My "dmd" directory apears like this "c:\dmd\dmd".
This morning I thought about incompatibilities of IZARC 3.6 (1260).
I unziped the files with Winzip and it worked well.

Thanks to all

Sorry my English

Chris Williams

The Debug target seems to be fine, but Release target defaults to having a -o option surreptitiously added into Build Options->#defines (if I recall correctly.) Simply removing this seems to fix it.