Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2017 18:00:16 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Clang equivalents to gcc options
Message-ID:  <CAJ5UdcPxPnBqp=AAHZpE80uOBkfkKCb6vuWL%2BA0R8p_9h17x6A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcPxPnBqp=AAHZpE80uOBkfkKCb6vuWL%2BA0R8p_9h17x6A>