开发者

Tlib.exe (Borland / Embarcadero) doesn't handle paths properly that contain hifen-minus symbols, what can I do?

When I try to execute something similar to this line below:

tlib.exe 开发者_StackOverflow社区/C mylib.lib +-obj\Release\lib-10\src\object\objectFile.obj

I get this output:

TLIB 6.2 Copyright (c) 1987-2010 Embarcadero Technologies, Inc. Warning: '.\obj\Release\objectFile.obj' not found in library

If I remove the "lib-10" manually and put the objectFile.obj at the "obj\Release\src\object\" dir it works fine.

What can I do?

At the website there are no useful information about this. If there is no workaroud I will try this manual solution. Just to clarify: tlib.exe is my only choice.

Thanks


Recent versions of Tlib will handle properly quoted paths with -/+ on the command line, but older versions do not. If the IDE or your shell isn't properly quoting these paths, your best bet is to use a different path.
I would discourage use of paths containing those characters. I know it's a remnant of times past, but many console applications grew out of those legacy times and still have the old constraints.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜