X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33,J_CHICKENPOX_43,J_CHICKENPOX_83 X-Spam-Check-By: sourceware.org Message-ID: <4A58F75C.8080405@jadsystems.com> Date: Sat, 11 Jul 2009 13:34:36 -0700 From: Jim Deas Reply-To: jim DOT deas AT jadsystems DOT com User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Running arm compiler on XP/Cygwin system Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I am have a problem I think with path statements. I was able to install cygwin and recompile a complete set of arm tools using the new cygwin libs. Now my makefiles run in a cygwin window but fail in Windows CMD line and Eclipse. The make file below is very simple and works in a cygwin window. In a dos window the gcc command just returns after doing nothing. In Eclipse it returns error 1. The first item, srt.s appear to correctly compile both in dos and cygwin yet fails somehow on the first gcc compile 'arm-elf-gcc -I./ -c -fno-common -O3 -g main.c' To complicate things even more, in dos arm-elf-gcc can be found and executed returning 'no input files' so I know the path to the executable is working Thanks for any help JD ------------------------------------------------------------------------------------------------------------------------------------------------------ NAME = Demo CC = arm-elf-gcc LD = arm-elf-ld -v AR = arm-elf-ar AS = arm-elf-as CP = arm-elf-objcopy OD = arm-elf-objdump CFLAGS = -I./ -c -fno-common -O3 -g AFLAGS = -ahls -mapcs-32 -o crt.o LFLAGS = -Map main.map -TDemo.cmd CPFLAGS = -O ihex ODFLAGS = -x --syms all: test clean: -rm crt.lst main.lst IntStubs.lst crt.o main.o IntStubs.o main.out main.hex main.map main.dmp test: main.out @ echo "...copying" $(CP) $(CPFLAGS) main.out main.hex $(OD) $(ODFLAGS) main.out > main.dmp main.out: crt.o main.o IntStubs.o Demo.cmd @ echo "..linking" $(LD) $(LFLAGS) -o main.out crt.o main.o IntStubs.o crt.o: crt.s @ echo ".assembling" $(AS) $(AFLAGS) crt.s > crt.lst main.o: main.c @ echo ".compiling" $(CC) $(CFLAGS) main.c IntStubs.o: IntStubs.c @ echo ".compiling" $(CC) $(CFLAGS) IntStubs.c -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple