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: <20001020203759.22304.qmail@web108.yahoomail.com> Date: Fri, 20 Oct 2000 13:37:59 -0700 (PDT) From: Earnie Boyd Subject: Re: Cygwin SEGVs To: cygwin AT sources DOT redhat DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- DJ Delorie wrote: > > > There is a problem. Someone changed the top level configure a while ago > > and broke things. > > That would be me, so I guess I better explain ;-) > > GCC has a "-B" flag that *used* to be used just to find things like > cc1, cpp, as, and ld. However, the GCC team has been using that > option for many other things. One of those things is to find crt0.o > (the libraries have their own options). There is *no* other way to > find crt0.o! So, this switch is kinda mandatory if you want to link > your programs with the right crt0.o. > > Unfortunately, gcc warns you if the -B option isn't used to find cc1, > cpp, as, or ld. The warning totally ignores other valid uses of -B, > so the warning was removed from the gcc sources (by me). If old > versions didn't exist, we'd be all set. > > As for workarounds for old gccs, there are two: > > 1. Binary-edit your gcc.exe to remove that warning. Not for the feint > of heart. > > 2. Remove that option in configure, and hope that the *installed* > crt0.o is compatible with the *built* crt0.o (or copy it). > > You could also go through all the Makefiles and add that -B option to > the specific link lines, but that's a tricky thing to get right. > This is *not* a problem for building Cygwin from source. DJ had fixed this problem with Cygwin ~October 5th. I just completed a configure and make with the current CVS source. Cheers, ===== Earnie Boyd mailto:earnie_boyd AT yahoo DOT com --- --- --- Cygwin: POSIX on Windows --- --- Minimalist GNU for Windows --- __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com