www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/29/03:13:13

From: dontmailme AT iname DOT com (Steamer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 3rd Try: Maybe an asm problem? (Problems linking)
Date: Sat, 29 Apr 2000 07:35:27 GMT
Organization: always disorganized
Lines: 14
Message-ID: <390a90a7.84781911@news.freeserve.net>
References: <200004281112 DOT NAA29833 AT acp3bf DOT physik DOT rwth-aachen DOT de> <3909D92B DOT CC80284C AT pop DOT gis DOT net> <3909DD56 DOT 7BD63105 AT mtu-net DOT ru> <390A01E6 DOT D8D52F3 AT pop DOT gis DOT net> <390a1086 DOT 51973341 AT news DOT freeserve DOT net> <390A4777 DOT AAB7D23D AT pop DOT gis DOT net>
NNTP-Posting-Host: modem-7.nebraska.dialup.pol.co.uk
X-Trace: newsg4.svr.pol.co.uk 956993728 19527 62.137.78.7 (29 Apr 2000 07:35:28 GMT)
NNTP-Posting-Date: 29 Apr 2000 07:35:28 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Joseph Rose wrote:

>I need to access in my asm code a variable defined by the C++ code.
>I need to know about this "name-mangling!"

I don't think C++ name-mangling applies to variables, only functions (to cope
with overloading).  But if you want to see what name the compiler is really
giving to anything then just do

    objdump --syms

on the object file it produces.

S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019