User forums > Help

Problem configuring Digital Mars as default compiler

<< < (3/5) > >>

MortenMacFly:

--- Quote from: MortenMacFly on November 01, 2005, 07:50:59 pm ---
--- Code: ---link.exe /NOLOGO    .objs\main.o , "D:\RemoveMe\console.exe", ,   
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings

--- End code ---

--- End quote ---

After writing this: Did you notice that the message from "my" link.exe is different to yours? Why?
Where does this:

--- Code: ---OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

--- End code ---
come from in your case???

Morten.

Israel:
Morten, OPTLINK is the DMC linker.  I'm surprised that you're not getting the message!  Maybe GCC is linking your program ;-)

What do I do now?!

P.S.  Does your executable really exist, and can you run it?

Israel:
Ok, maybe I should tell you what I have in my Programs tab to compare with yours:

C Compiler:                    dmc.exe
C++ Compiler:                dmc.exe
Linker for dynamic libs:     link.exe [from dm/bin]
Linker for static libs:         link.exe [from dm/bin]
Debugger:
Resource compiler:          rcc [from where, I have no idea]
Make program:                make.exe [from dm/bin]

How do these match up?  I don't remember the defaults...

takeshimiya:
I'm using mingw32-make (from MinGW) as Make program for DMars, dunno if it's related.

Try to put DMars in a path without spaces (ie. C:\dm). Some compilers doesn't like spaces in the path (dunno if its the case with DMars).

Israel:
I'm not clear that MAKE is being invoked- from my (and Morten's) logs, it looks like link.exe is being invoked.

I don't have any spaces in the path of the project file.  But DMC is installed in Program Files...I don't think that's the issue.

Thanks again,

Israel

P.S.  I posted to the DMC boards also since we're now at the point of getting an error message from DMC.

http://www.digitalmars.com/drn-bin/wwwnews?c%2B%2B.command-line/629

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version