www.delorie.com/archives/browse.cgi | search |
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 <jim DOT deas AT jadsystems DOT com> |
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 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |