You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, November 26th 2003, 10:55am

what is --enable-final

Hi,

what is this flag, fond on many ./configure scripts for KDE applications?

Thanxx

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Wednesday, November 26th 2003, 7:09pm

I think it concatenates all source files from one directory into one huge file and compiles it instead of every file separately.

I think it results in shorter compile time because it does not have to resolve recurring include statements every time.

Cheers,
_
Qt/KDE Developer
Debian User

tom

Beginner

Posts: 26

Location: Darmstadt, Germany

  • Send private message

3

Wednesday, November 26th 2003, 9:33pm

$ ./configure --help
[...]
--enable-final build size optimized apps (experimental - needs lots of memory)

The program will be optimized for your CPU. For more information, have a closer look on "man gcc" or http://www.gnu.org/software/gcc/gcc.html.
---
There are only 10 types of people in the world:
Those who understand binary and those who don't.
---

4

Thursday, November 27th 2003, 6:44am

Quoted

Original von tom

$ ./configure --help
[...]
--enable-final build size optimized apps (experimental - needs lots of memory)

The program will be optimized for your CPU.

No. Those two are different things. CPU optimizations are
separate sitches, like -march=athlon-xp for example.

--enable-final optimizes in the way anda_skoa described.
The result is lower compile time and smaller binary size.
As this option sometimes produces compilation errors it is
recommended to try without it as soon as you notice that your
KDE source code doesn't compile.