Hi Guys,
Thank you so much for your help. Now the problem is fixed. I followed Paul's suggestion and change the following line in the $UDK2014/Conf/build_rule.txt from
<Command.ARMGCC> # $(OBJECT_FILES_LIST) has wrong paths for cygwin "$(SLINK)" $(SLINK_FLAGS) ${dst} $(OBJECT_FILES)
to
<Command.ARMGCC> # $(OBJECT_FILES_LIST) has wrong paths for cygwin "$(SLINK)" $(SLINK_FLAGS) ${dst} @$(OBJECT_FILES_LIST)
Then the problem is gone.
Thanks again
Best, Jianning
On Wed, Feb 18, 2015 at 6:38 AM, Olivier Martin olivier.martin@arm.com wrote:
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