1

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

In particular, why are they used in Solaris machines ?

Droider
  • 459
  • 2
  • 6
  • 14

1 Answers1

0

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

Oscar
  • 13,594
  • 8
  • 47
  • 75