Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Sat, 19 Jul 2003 07:11:35 +0100 From: Elfyn McBratney X-X-Sender: elfyn AT ellixia Reply-To: cygwin AT cygwin DOT com To: anupam DOT goel AT st DOT com cc: cygwin AT cygwin DOT com Subject: Re: PE operations on non PE file. collect2: ld return exit1 stat In-Reply-To: Message-ID: References: Mail-Followup-To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 19 Jul 2003 anupam DOT goel AT st DOT com wrote: > Hi, > > I am using cygwin 1.32 on windowsXP. > gcc/gcc-3.2-3 > gcc2/gcc2-2.95.3-10 > GNU Make version 3.79.1 > > I am getting the following linker error. > ------------------ > gcc -Tos/ecos/simulator/lib/target.ld -nostartfiles -nostdlib > -Los/ecos/simulator/lib/ -Lrelease/embedded/lib -L/usr/lib/w32api/ > -L/usr/lib -o > test/systest/sta_and_ap.out ./test/common/obj/ecos_main.o > ./test/systest/obj/libTest.a -lVkernel -lEmbedded > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > PE operations on non PE file. > collect2: ld returned 1 exit status > make: *** [test/systest/sta_and_ap.out] Error 1 > --------------------- > I am simply building a binary exec and I am not doing anything related > to portable execs so I am not able to figure out why am I getting PE > errors. > > Please advise on how to fix this problem. > > Thanks a lot. > > Regards, > Alak Try ecos-discuss at sources dot redhat dot com . Elfyn -- Elfyn McBratney, EMCB | http://www.nongnu.org/wwwauth/ http://www.emcb.co.uk | http://www.emcb.co.uk/webauth/ elfyn AT emcb DOT co DOT uk | wwwauth-users AT nongnu DOT org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/