| 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: | <CDDB93E84A8DD411B01900D0B78278400B3ECEFB@IE10-SAHARA> |
| From: | "Manik, Raina (IE10)" <Manik DOT Raina AT honeywell DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | gcc 3.1.1 for cygwin generates __imp_symbol |
| Date: | Mon, 4 Nov 2002 05:11:08 -0600 |
| MIME-Version: | 1.0 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id gA4BI3e27341 |
Hi all,
I'm using gcc 3.1.1 on cygwin (i686) and
i'm doing something to the tune of
gcc -c foo.o $(CFLAGS) foo.c
and all external references in foo.c are prefixed
with __imp.
^^^^^^^^^^^
i.e nm foo.o shows something like ...
U __imp_external_reference
for a function external_reference(). It's desirable
for me to make generate _external_reference() instead
since i'm having trouble linking this .o file link
with other libBAR.a files generated using GNU tools.
The gcc flags i'm using are ...
-c -fno-exceptions -fno-rtti -march=pentium
-falign-functions=64 -Wa,--no-warn -finline-functions -O3
Please let me know if there is a way of supressing gcc
from generating the __imp prefix for all externally referenced
symbols.
I looked at the gcc documentation and came it came up with nothing
on this. Am i missing something or is it just my gray cells fizzing
out ?
Appreciate any help/pointers/[M's in RTFM's] on this ;)
---- >8 ----
(forgive me if this question has been beaten to death on
this list already, i searched the archives already and could
not find anything on this... so i mailed).
PS: Hi Mumit Khan !
---- ----
Wir müssen wissen, wir werden wissen (We must know, we shall know). - David
Hilbert
--
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 |