Hi All,
I'm working on a tool that checks the version of the compiler, to be more precise c++. This tool is multi platform and works on Linux also. The questions is that in general gcc have a parameter call -dumpversion that shows the version of the compiler and on freebsd12 and freebsd12 do not match.
Here is some output
Why is 4.2.1? and the other output says 5.0.0?
Regards,
Luis
I'm working on a tool that checks the version of the compiler, to be more precise c++. This tool is multi platform and works on Linux also. The questions is that in general gcc have a parameter call -dumpversion that shows the version of the compiler and on freebsd12 and freebsd12 do not match.
Here is some output
Code:
root@:~ # c++ --version
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
root@:~ # c++ -dumpversion
4.2.1
Why is 4.2.1? and the other output says 5.0.0?
Regards,
Luis