I had the same issue a couple years ago.
I found WinXP has a limitation of 8191 characters (http://support.microsoft.com/kb/830473).
But the unix-like environment I was using (mingw) was limiting the command line at 750 characters.
I also tried Paul’s suggestion at that time but arm-linux-gnueabihf-ar.exe was not accepting the syntax ‘@<object_files_list>’.
It looks it has been fixed.
From: linaro-uefi-bounces@lists.linaro.org [mailto:linaro-uefi-bounces@lists.linaro.org] On Behalf Of Jianning Wang Sent: 17 February 2015 21:39 To: linaro-uefi@lists.linaro.org Cc: Daniel Samuelraj Subject: [Linaro-uefi] "aarch64-none-elf-ar" has command line string size limit??
Hi,
I am working on compile a UEFI project for AARCH64 platform on a Windows 7 machince using the following toolchain.
http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-aa...
Now everything compiles except the last step of using "aarch64-none-elf-ar". We have about 100 obj files (say from OBJ#001 to OBJ#100) and "aarch64-none-elf-ar" reported "OBJ#50 file is missing".
It seems to me that "aarch64-none-elf-ar" has a limit of the command line string size.I tried to shorten the directory name (and file name), the situation got improved a little bit, now "aarch64-none-elf-ar" reports ""OBJ#85 is missing".
Does anyone is there a such limit and how could we circumvent this problem?
Thanks
Jianning