Главная страница | назад





Article #16288: Linker error in response file: expected an option

 Question and Answer Database
FAQ1288C.txt Linker error in response file: expected an option
Category :Linker
Platform :Win95/NT
Product : C++Builder1.0 C++Builder3.x
Question:
I can't seem to get TLINK32 to use perfectly reasonable response files
anymore. Response files that were working fine with 5.01's TLINK32 now
produce only a cryptic "Expected an option" error with C++Builder.
The errors seems to be related to merely using '+' continuations on the
libraries line of the response, rather than any missing "options".
Answer:
TLINK32 now functions in exactly the way you describe. It is no longer
possible to use + signs in the middle of a line in response files. So
that means if you have makefiles that pass something like this
to the linker
liba.lib + libb.lib + libc.lib +
[more lines here...]
we have to rewrite it like this
liba.lib libb.lib libc.lib +
[more lines here...]
Those intermediate plus signs are no longer accepted.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99