www.digitalmars.com         C & C++   DMDScript  

c++.command-line - link with /co problem

I want to build a debug mode programme but link error happens. The command I
enter and the output is printed below:

E:\RBTree>dmc -C -g test_rbtree
link test_rbtree,,,user32+kernel32/co/noi;

OPTLLINK: Error 118: Filename Expected
path = ...

So I changed the command:
E:\RBTree>dmc -C -g test_rbtree -L/noco
link test_rbtree,,,user32+kernel32/co/noi/noco;

this time error doesn't happen, but the exe file is not what I want. I don't
know why. please help. many thanks.
Aug 07 2005