RE: mapfile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Does Linux/gcc support a mapfile syntax, so that we can hide/export
> > symbols in shared lib on Linux as well? 
>
> ...if you declare functions or variables as being static... they 
> will only be visible within that compilation unit...

Of course, code within the compilation unit can always pass (or return)
pointers to static elements to code outside the compilation unit.  I
have never done this across shared library boundaries, but I do not see
why it should fail.

Naturally, this might be a kind of kludgy solution to your problem. :)

---
Tony Wetmore
Raytheon Solipsys
mailto:tony.wetmore@xxxxxxxxxxxx
http://www.solipsys.com


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux