========== 제 질문 내용입니다 ==========
<#1 Bug Condition>
Add "a-1" and "b-1" directories as library directory in project option
dialog.
<#1 Result>
[Linker Fatal Error] Fatal: Illegal option: 1;c:\program
files\borland\cbuilder6\lib\release
<#2 Bug Condition>
Add "a--" directory as library directory.
<#2 Result>
[Linker Fatal Error] Fatal: Unable to open file 'VCL.LIB'
<Guess>
1. *library path* value should not include hipen more than twice.
2. This bug can be solved by warpping LIBPATH value with qutoes in
exported makefile manually.
3. Above fact means that BCB 6 IDE ".bpr to .mak" converter does not wrap
library path with quotoes and it lets ilink32 think the hipen as linker
option.
4. I hope this bug will be fixed as soon as possible.
=========== 볼랜드 TeamB 답변입니다 =========
> 4. I hope this bug will be fixed as soon as possible.
Not likely. For a while now, BCB has not worked well with "special
characters" in directory names. For a much more immediate solution
you should just rename your directories. (Not what you want to hear,
but it's still the best solution.)
--
Chris(TeamB);
======== 요약 ========
빌더에서 라이브러리 패스로 하이픈이 들어간 디렉토리를 사용하면
하이픈 때문에 링커가 디렉토리 이름을 링커 옵션으로 인식해서
뜻하지 않은 에러를 발생시킵니다. 따라서 "MyProject-1.0" 과 같은
디렉토리명은 그 이름을 바꾸지 않은 이상 라이브러리 패스로 사용할 수 없게 됩니다.
물론 해결 방법이 있습니다. 빌더의 프로젝트 파일을 메이크 파일로 익스포드 해서
메이크 파일에서 LIBPATH=.... 로 기술된 부분을 LIBPATH="...." 와 같이
따옴표를 써가지고 묶어주면 해결됩니다만 수동으로 해줘야하기 때문에 아주 불편합니다.
또한 오브젝트 파일이나 실행화일 같은 것도 메이크 한 폴더에 다 생겨버리는 문제가 생깁니다.
볼랜드 측에서는 그냥 디렉토리명을 바꾸는 것이 최선책이라고 하네요.
|