| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Message-ID: | <000801c284e4$a73c6c00$0300a8c0@axp> |
| From: | "Benjamin K." <bkausbk AT web DOT de> |
| To: | "Randall R Schulz" <rrschulz AT cris DOT com>, <cygwin AT cygwin DOT com> |
| References: | <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021104104934 DOT 02d12380 AT pop3 DOT cris DOT com> |
| Subject: | Re: don't want leading underscore |
| Date: | Tue, 5 Nov 2002 17:01:50 +0100 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-MIMEOLE: | Produced By Microsoft MimeOLE V6.00.2800.1123 |
> >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.
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |