Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22298

Why -lm option is not required in MinGW GCC?

$
0
0

Compiler option -lm is required when compiling and linking program containing functions in math.h on Linux GCC, otherwise a link error will appear. However, -lm option is not required in MinGW GCC on Windows.


Viewing all articles
Browse latest Browse all 22298

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>