Author Topic: D Language - Digital Mars - error apears  (Read 5714 times)

Offline codemania

  • Multiple posting newcomer
  • *
  • Posts: 19
D Language - Digital Mars - error apears
« 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
« Last Edit: December 23, 2006, 03:35:21 pm by codemania »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: D Language - Digital Mars - error apears
« Reply #1 on: December 23, 2006, 04:31:16 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 ;-)

Offline peso

  • Multiple posting newcomer
  • *
  • Posts: 12
    • Abalone on Wikipedia
Re: D Language - Digital Mars - error apears
« Reply #2 on: December 24, 2006, 11:19:35 am »
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,

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: D Language - Digital Mars - error apears
« Reply #3 on: December 24, 2006, 11:24:02 am »
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 ??)

Offline codemania

  • Multiple posting newcomer
  • *
  • Posts: 19
Re: D Language - Digital Mars - error apears
« Reply #4 on: January 06, 2007, 08:52:17 pm »
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
« Last Edit: January 06, 2007, 08:56:34 pm by codemania »

Chris Williams

  • Guest
Re: D Language - Digital Mars - error apears
« Reply #5 on: January 17, 2007, 04:56:16 pm »
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.