Use of compiler flag "-static-libgcc"

361 Views Asked by At

what is the exact use of -static-libgcc compiler flag in gcc ?

In particular, why are they used in Solaris machines ?

1

There are 1 best solutions below

0
On

The shared version is required on Solaris to properly support exception handling across shared libraries.

http://fourier.math.uoc.gr/~mk/prog0001/files/shared.txt