Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caen!uwm.edu!lll-winken!aunro!ersys!bking From: ersys!bking@nro.cs.athabascau.ca (Barry King) Newsgroups: comp.lang.c++ Subject: Re: BC++ Help Needed: command line too long Message-ID: <2oRe21w164w@ersys.uucp> Date: 4 May 91 05:56:36 GMT References: <1991May6.032435.9805@milton.u.washington.edu> Organization: Edmonton Remote Systems, Edmonton, AB, Canada Lines: 23 water@milton.u.washington.edu (Hong Li) writes: > Hi, > Could someone help me to solve the following problem concerning Borland > C++ command line compiler: > > My project has a lot of files. In the Makefile the tlink complains > about command line is too long. Initially, I changed my files' name to very > short ones and solved the problem temperaly. But now I run out of space in > command and line again. What can I do? > You can use a linker response file. In your make file (assuming you're using one...) you would say tlink @myproj.lnk The '@' tells tlink to use the following file name as a response file. Each line in the response file corresponds to a positional parameter to tlink. Check out your tlink documentation and response files. It's explained quite well and should solve your problem. Barry King ersys!bking@nro.cs.athabascau.ca Edmonton Remote Systems: Serving Northern Alberta since 1982