Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <200012071005.eB7A57n08003@florence.pavilion.net> Date: Thu, 07 Dec 00 10:04:10 +0000 From: "Al Slater" Subject: RE: what is the matter with gcc in cygwin? To: "'"Xugang Zhang"'", "'"cygwin"'" MIME-Version: 1.0 You are using a c compiler to compile and link an assembly program. Try this as -o t.o t.s ld -o t.exe t.o This assembles t.s into t.o and then links t.o into an executable. Al Slater > -----Original Message----- > From: "Earnie Boyd" > [mailto:earnie_boyd AT yahoo DOT com] > Sent: 06 December 2000 16:57 > To: "Xugang Zhang"; "cygwin" > Subject: Re: what is the matter with gcc in cygwin? > > > --- Xugang Zhang wrote: > > > > why the gcc always says error? the gcc version is 2.95.2-3 > > Sorry, I don't know this answer. > > > why the gcc ld always link with libcygwin.a ?I don't want > it link with > > libcygwin.a. > > > > Using gcc to link always adds default libraries. If you want > to be specific > about what is linked use ld instead of gcc to do the linking. > > Cheers, > > ===== > Earnie Boyd > mailto:earnie_boyd AT yahoo DOT com > > --- --- > --- Cygwin: POSIX on Windows --- > --- Minimalist GNU for Windows --- > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Thousands of Stores. Millions of Products. > http://shopping.yahoo.com/ > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com