UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 18552

6.1 EDK - Compilation causes error "Command Arguments too long"

Description

Keywords: EDK, make, Borland, gnu, Xygwin

Urgency: Standard

General Description:
On a PC with ISE6.1i, EDK6.1, and Borland, running MAKE on the command line runs perfectly; but when running MAKE from GUI in EDK, the MAKE version called up is from Borland and it produces the error:

"MAKE Version 4.0 Copyright (c) 1987, 1996 Borland International
powerpc-eabi-gcc -O0 code/mgt_demo.c code/uart_io.c code/icap.c -o ppc405_i/code/mgt_demo.elf -Wl,-defsym -Wl,_START_ADDR=0xFFFF0000 -Wl,-defsym -Wl,_STACK_SIZE=4K -Wl,-defsym -Wl,_HEAP_SIZE=4K -Wl,-T -Wl,code/linker_script -I./ppc405_i/include/ -Icode/ -L./ppc405_i/lib/
Fatal: Command arguments too long
Done."

Removing Borland from the PC's Environment Settings does not help.

Solution

The Borland installation writes its path not only in Environment Settings, but also in a AUTOEXEC.BAT file located in your C:\ Drive. Removing that statement in the AUTOEXEC.BAT file would now cause EDK GUI to correctly call up the GNU MAKE utility (instead of Borland MAKE), and the error will go away.
AR# 18552
Date Created 12/05/2003
Last Updated 03/07/2006
Status Archive
Type General Article