www.digitalmars.com         C & C++   DMDScript  

c++.command-line - Command line 2 long

reply "dt" <tinkham ucalgary.ca> writes:
Hi,
I'm new to Digital Mars, and am working with the free download (I'm waiting
for my CD).

Windows ME.

While compiling, I get an the error stating my command line was too long. I
guess this is related to my operating system.

Do the tools on the CD (in particular smake) allow one to use longer command
lines than the tools in the free download? Or, will I be stuck with this
problem because I am using ME?


Also, briefly, what are the main differences between smake and make?

Thanks,
Doug
Mar 28 2005
next sibling parent "dt" <tinkham ucalgary.ca> writes:
 Do the tools on the CD (in particular smake) allow one to use longer
command
 lines than the tools in the free download? Or, will I be stuck with this
 problem because I am using ME?
Oh. I read an answer below to put the command line in a file an link it in (if the error was coming from the linker). I'll check and try that.
 Also, briefly, what are the main differences between smake and make?
Mar 28 2005
prev sibling parent reply "Walter" <newshound digitalmars.com> writes:
"dt" <tinkham ucalgary.ca> wrote in message
news:d29r0q$2t69$1 digitaldaemon.com...
 Also, briefly, what are the main differences between smake and make?
smake is compatible with Microsoft's nmake. make is simpler, smaller, and faster.
Mar 28 2005
parent Scott Michel <scottm aero.org> writes:
Walter wrote:
 "dt" <tinkham ucalgary.ca> wrote in message
 news:d29r0q$2t69$1 digitaldaemon.com...
 
Also, briefly, what are the main differences between smake and make?
smake is compatible with Microsoft's nmake. make is simpler, smaller, and faster.
smake has more features that one would expect from a fully featured make system, whereas make is barebones. For the Eclipse plug-in, I decided to rely on smake rather than make because smake has better support for implicit compile rules (the ".c.obj" variety).
Mar 29 2005