|
Re: lug-bg: c/c++ differences
- Subject: Re: lug-bg: c/c++ differences
- From: firedust@email.domain.hidden (Stanislav Lechev [AngelFire])
- Date: Fri, 4 Jul 2003 15:02:21 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 04 July 2003 13:18, Ico wrote:
<em class="quotelev1">> Hi,
<em class="quotelev1">>
<em class="quotelev1">> Probwaj dali ne te ustrojwa towa (za C++):
<em class="quotelev1">>
<em class="quotelev1">> extern "C" int plugin_main
<em class="quotelev1">> {
<em class="quotelev1">> }
mdam taka stawa wiv za twa ne se setih :)))
mersi mnogo za pomoshta ...
<p>root_at_angelfire:[3]:utils# cat qwe.c
extern "C" {
bool plugin_main() {
}
}
root_at_angelfire:[3]:utils# g++ qwe.c -c
root_at_angelfire:[3]:utils# objdump -t qwe.o
qwe.o: file format elf32-i386
SYMBOL TABLE:
00000000 l df *ABS* 00000000 qwe.c
00000000 l d .text 00000000
00000000 l d .data 00000000
00000000 l d .bss 00000000
00000000 l d .comment 00000000
00000000 g F .text 00000005 plugin_main
<p>10x again
<p>- --
- -=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-
Regards, AngelFire
Stanislav Lechev <firedust_at_vega.bg>
PGP Key: http://firedust.vega.bg/pgp/StanislavLechev.asc
Vega Internet Service Provider (tm) -- http://www.vega.bg
- -=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-
<p>-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/BWzN8RPXBhiMqewRAh6rAKCGHJOaLHQD62Yx/R2VwdKAwpyGRgCfW6x0
oWTO727tbnLfreeRbBDb1mU=
=FRJo
-----END PGP SIGNATURE-----
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|