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 Message-Id: <5.1.0.14.2.20021105080848.02e142d8@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Tue, 05 Nov 2002 08:10:43 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: don't want leading underscore In-Reply-To: <000801c284e4$a73c6c00$0300a8c0@axp> References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021104104934 DOT 02d12380 AT pop3 DOT cris DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Benjamin, Where else have you sought solutions to your problems? Have you consulted the GCC book? Have you asked your questions in one of the GCC-specific forums? If not, look here: . Randall Schulz Mountain View, CA USA At 08:01 2002-11-05, Benjamin K. wrote: > > >I want to be binary compatible with linux and other operating systems. > > > > Binary compatible? That really has little meaning since there's far > more to > > binary compatibility than how symbols from the program source code are or > > are not adorned when emitted into the object code files. > >Of course, but that is one of the incompatibility. > > > Apparently it can be changed. If GCC under Linux doesn't prepend the > > underscore and under Cygwin it does, then it's at some level configurable. > > Get the GCC book ("Using and Porting GNUCC"). > > >Yes one would think so. > > > This excerpt from the output of "gcc -dumpspecs" suggests leading > > underscores is a configurable option (though I don't know why both > > "leading-underscore" and "no-leading-underscore" are listed: > >The problem is that this command line options didn't work. Of course the >only thing that I have to do is to change the compiler source. I've done >this already, but this is not the solution. (just changing bsd.h a bit) >Than I've the problem getting symbols with underscores. (there should be >an working option) This is just a bad implementation ... or should I say >BUG in Gcc. That is a rash and probably unwarranted condemnation. >Benjamin Kalytta -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/