Re: 5.30/5.32 CompileMacro() inconsistency

From: Thiemo Nagel <thiemo.nagel_at_tum.de>
Date: Tue, 24 Jan 2012 15:47:33 +0100


Dear Axel,

On 01/24/2012 03:34 PM, Axel Naumann wrote:
> With a recent binutils (or / e.g. gold) you should be able to pass
> "-Wl,--as-needed". You can patch that into the build options, see
> gSystem->Get/SetMakeSharedLib().

great! This works for me!

In my opinion it would make sense to check for the availability of "--as-needed" in ROOT ./configure and, if available, include it into the build string by default. What do you think?

Cheers,
Thiemo

-- 
+-----------------------------------+--------------------------+
| Dipl.-Phys. Thiemo Nagel          |                          |
| Technische Universitaet Muenchen  | Room    PH1 3276         |
| Physik-Department E18             |                          |
| James-Franck-Strasse              | Phone  +49 89 289-12379  |
| D-85747 Garching                  | Fax    +49 89 289-12570  |
+-----------------------------------+--------------------------+
Received on Tue Jan 24 2012 - 15:47:52 CET

This archive was generated by hypermail 2.2.0 : Wed Jan 25 2012 - 23:50:01 CET