[Lazarus] FPDoc tracker
Sven Barth
pascaldragon at googlemail.com
Mon Jul 18 21:05:31 CEST 2011
On 18.07.2011 19:20, Marcos Douglas wrote:
> On Mon, Jul 18, 2011 at 2:08 PM, Sven Barth<pascaldragon at googlemail.com> wrote:
>> On 18.07.2011 14:44, Graeme Geldenhuys wrote:
>>>
>>> On 07/18/2011 02:23 PM, Marcos Douglas wrote:
>>>>
>>>> W:\md\dev\freepascal\compiler\fpcdocs>make rtl.chk fcl.chk
>>>> FPCSRCDIR=W:\md\dev\f
>>>> reepascal\compiler\2.4.5
>>>> fpdoc --warn-no-node --package=rtl --descr=rtl.xml --content=rtl.xct
>>>> --hide-pro
>>>
>>> ....snip...
>>>>
>>>> ler\2.4.5/rtl/inc/ctypes.pp
>>>> -FiW:\md\dev\freepascal\compiler\2.4.5/rtl/unix -FiW
>>>> :\md\dev\freepascal\compiler\2.4.5/rtl/win
>>>> -FiW:\md\dev\freepascal\compiler\2.4.
>>>> 5/rtl/win32" --format=html --output=rtl --footer-date='mmm dd yyyy'
>>>> A linha de entrada é muito longa.
>>>> make: *** [rtl.chk] Error 255
>>>>
>>>> W:\md\dev\freepascal\compiler\fpcdocs>
>>>> -----------------------------------------------------------------------
>>>> My Win is Portuguese so, the translate this error is "The input line
>>>> is too long.".
>>>
>>> Thanks for the translation. It seems Windows can't handle such a long
>>> command on the command line. Two options I can think of:
>>
>> I don't know how long the given command line is, but the limits for Windows
>> using cmd are as follows:
>>
>> * up to including Windows 2000: 2047 characters
>> * from Windows XP on: 8191 characters
>>
>> The limit when using CreateProcess directly is 32767 characters (max length
>> of a UNICODE_STRING).
>
> As I thought... then I may have problems using many arguments (-Fi)
> for ppc386.exe.
You could pass them using an additional config file.
Create a file, e.g mycfg.cfg and add your "-Fi" entries there (and any
other option you'd like to use). Then you call fpc or ppc386 with
"@mycfg.cfg" as argument. There the restrictions of Windows don't apply ;)
Regards,
Sven
More information about the Lazarus
mailing list