[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-optimize
Subject:    RFC: Symbol exports
From:       Karl Vogel <karl.vogel () seagha ! com>
Date:       2004-07-26 20:47:27
Message-ID: 200407262247.27790.karl.vogel () seagha ! com
[Download RAW message or body]

Right.. I now have a complete KDELIBS / KDEBASE running build with 
gcc+visibility patch and default visibility set to hidden. This means that 
nothing is exported in shared libs by default.

I'm now wondering if this *huge* patch will stand any chance of being applied 
(before doing too much extra work on it) ?!  And no I don't mean for 3.3 :-)

The patch won't have any adverse effects as far as I can think off, since it 
can completely be disabled by defining KDE_EXPORT as empty.


Here's what it takes to make KDE work with hidden default:

* am_edit / unsermake needs a patch to export kdeinitmain generated stubs
* kdelibs/dcop/dcopidl2cpp patch to handle LINK_SCOPE tag (which is already 
present in .kidl files)
* giant patch to place KDE_EXPORT on all classes that need exporting and on 
files which have kdeinit/kdeinitmain, KCModule functions, kss_ screensaver 
functions, ...

Any thoughts?! Questions?


(this will surely make Gentoo users giddy.. more compiler flags to play 
with! :-) )
_______________________________________________
Kde-optimize mailing list
Kde-optimize@kde.org
https://mail.kde.org/mailman/listinfo/kde-optimize
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic