www.digitalmars.com         C & C++   DMDScript  

c++.command-line - linker & command line too long

reply "Denis Troshin" <weiv mail.ru> writes:
Hello!

What should I do if linker says: "Command line too long"
I need to pass a lot of .obj-files to linker.

I've read about response-files, but as I understood
it is for "sc.exe", not for "link.exe" ?
Aug 15 2004
parent "Walter" <newshound digitalmars.com> writes:
"Denis Troshin" <weiv mail.ru> wrote in message
news:cfo3gv$qni$1 digitaldaemon.com...
 Hello!

 What should I do if linker says: "Command line too long"
 I need to pass a lot of .obj-files to linker.

 I've read about response-files, but as I understood
 it is for "sc.exe", not for "link.exe" ?
Just put your long command line in a file called "foo.lnk" and: link foo.lnk
Aug 15 2004