Re: [cc65] Number of object files the linker can handle?

From: Oliver Schmidt <ol.sc1web.de>
Date: 2005-09-29 17:02:46
Hi,

> > On a Windows platform I have too many object files on the cl65 command
> > line and the application does not link.

> all of Bills operating system had this problem, and I do really wonder,
why
> he isn't able to fix it in more than 20 years - maybe he's to busy
counting
> his money:-).

In fact this has nothing to do with the operating system. It's rather a
limitation of the default shell named cmd.exe. With other shells (i.e. MKS
tools sh.exe or the cygwin environment) you can have command lines up to 32k
without any problems. At work we're building binaries from hundreds of
individual objects without using the response file (@file) feature.

The CrerateProcess Win32 API docs says:

lpCommandLine
[in, out] Pointer to a null-terminated string that specifies the command
line to execute. The maximum length of this string is 32K characters.

Best, Oliver

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 29 17:02:50 2005

This archive was generated by hypermail 2.1.8 : 2005-09-29 17:02:53 CEST