Clang equivalents to gcc options

Antonio Olivares olivares14031 at gmail.com
Tue Oct 10 23:00:18 UTC 2017


Dear FreeBSD users,

I kindly ask for equivalent options when compiling c programs.
I was able to find an equivalent clang for
$ c++ -o prog prog.cpp
$ clang++ -o prog prog.cpp
Will do the job, but for say
$ gcc -o
What would the equivalent clang expression be?

Thanks in advance,

Antonio


More information about the freebsd-questions mailing list