www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - link error with /co

↑ ↓ ← Michael <Michael_member pathlink.com> writes:
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 08 2005
↑ ↓ → "Walter" <newshound digitalmars.com> writes:
"Michael" <Michael_member pathlink.com> wrote in message
news:dd9864$12g3$1 digitaldaemon.com...
 I want to build a debug mode programme but link error happens. The command

 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

 know why. please help. many thanks.

When I try it I don't get an error. Can you try to reduce the size of test_rbtree to the minimum that exhibits the problem?
Aug 09 2005