[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
is there any directive available ?
From: |
chetan |
Subject: |
is there any directive available ? |
Date: |
14 Dec 2004 22:36:13 -0800 |
Microsoft's 32 bit compiler 'cl' for C++ provides directive
__dllexport
to export symbol that are "name mangled" into particular part of the
dll file. So that can be viewed by the dumpbin /export command .
Is there any directive like that __dllexport available with 'g++' ,
so that i can export c++ symbols from my c++ program into particular
section of ELF ?
It is expected that that directive will put those symbols in that
section in
"name mangled" form rather than simple names that are place by
EXPORT_SYMBOL(symbol) macro written in ksyms.c in LINUX
(Exporting means at least i can see those symbols in particular
section of ELF file)
I nees those symbols to be found collectively at particular section,
so that i can use them as interface while building an application
based on that oject file ..
- is there any directive available ?,
chetan <=