Christian Schulte wrote:
> There might be an additional way to make the binaries smaller. After running
> configure, you can edit the file
> gecode/support/config.hpp
> and change the line
>
> /* How to tell the compiler to really, really inline */
> #define forceinline inline __attribute__ ((__always_inline__))
>
> to
>
> /* How to tell the compiler to really, really inline */
> #define forceinline inline
>
> This reduces the amount of inlining (hopefully). I do not know which
> difference it makes for gcc though. For MSVC on Windows it saves 35% for the
> integer module and 50% for the set module.
While I'm at it... This does shrink the queens executable again, to 3,2M
unstripped, 1,3M stripped (for -Oz, -dead_strip, without set variables). As
you suggest, the savings should be even bigger when the set module is included.
Cheers,
Guido
--
Guido Tack, http://people.cs.kuleuven.be/~guido.tack/
_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users