Auto-linking + serious Xplatform dev => mutually exclusive?

Hi, For serious cross-platform development, have boost users found the auto-linking to be useful? I think it only works on Windows, so if you're doing any serious cross-platform development, the feature isn't really that useful. Am I missing something? Is this only useful on Windows? I'd love for it to work in general, but I think I have to replicate the logic in my build system which means I shouldn't really use it on Windows (since my logic will already be there). Of course, thats not to say that the feature isn't generally useful. If I was a Visual C++ developer only, I'd use it, no questions asked. Thanks, Sohail

Am I missing something? Is this only useful on Windows? I'd love for it to work in general, but I think I have to replicate the logic in my build system which means I shouldn't really use it on Windows (since my logic will already be there).
It's only useful if your compiler supports it, period. However, those compilers that do support it typically have a number of different binary-incompatible build variants: figuring out which lib variant to link against without it in those cases is tricky, this is a frequent cause of problem reports caused by picking the wrong variant. Actually, I could never really understand why more compilers don't support this :-( John.

John Maddock wrote:
Am I missing something? Is this only useful on Windows? I'd love for it to work in general, but I think I have to replicate the logic in my build system which means I shouldn't really use it on Windows (since my logic will already be there).
It's only useful if your compiler supports it, period.
However, those compilers that do support it typically have a number of different binary-incompatible build variants: figuring out which lib variant to link against without it in those cases is tricky, this is a frequent cause of problem reports caused by picking the wrong variant.
Actually, I could never really understand why more compilers don't support this :-(
I suppose because on Linux, it's not typical to have several variants. And if you have just one variant, using -lwhatever is not a big problem. - Volodya
participants (3)
-
John Maddock
-
Sohail Somani
-
Vladimir Prus