rich at ipso-facto.freeserve.co.uk
Fri Mar 17 17:30:23 UTC 2000
Bjoern Krombholz wrote:
> Tried building the current (2000-03-17) cvs version and everything worked
> fine unless I run configure with '--enable-final'.
> I'm interested in what this option exactly means. There are no different
> compiler options.
> It seems that all .cpp files of one program (kwrite f.e.) are put together
> in one main source which will be compiled, aren't they?!
> But why does this break the building process? Are the source files merged
> in a wrong order?
Name clashes are the most likely cause, other possibilities are header
file ordering and macros.
> And finally, if it works which advantages would be there, just smaller
This allows the compiler to optimise across file bounaries which leads
to smaller faster code. Otherwise only methods which explicitly tell the
compiler can be inlined across .o files.
It also disables debugging info etc.
> Sign the Linux Driver Petition at http://www.libranet.com/petition.html
Richard Moore rich at ipso-facto.freeserve.co.uk
http://www.robocast.com/ richard at robocast.com
http://developer.kde.org/ rich at kde.org
More information about the KDevelop