|
|
|
Re: How to enable/disable my debug code? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Sat, 2011-07-30 at 15:04 -0400, NightStrike wrote:
> On Wed, Jul 27, 2011 at 10:22 PM, narke <narkewoody@xxxxxxxxx> wrote:
> >>> On 27 July 2011 14:36, Gary V. Vaughan <gary@xxxxxxxxxx> wrote:
> >> because those are in the users' namespace. Instead, Makefile.am should
> >> be setting required (but not compiler specific!!) options inside
> >> AM_CPPFLAGS/AM_CFLAGS/AM_LDFLAGS/etc. The info manuals will help you
>
> How can you have compiler-generic options? It's not like POSIX says
> that -O2 is for optimization, -g is for debug, and -D is for a
> commandline define.
It's exactly like that:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html
> Consider, though, using cl.exe in an msys environment. That uses /
> instead of - for switches, for instance.
cl.exe can use '/' and '-' interchangeably. (This, of course, doesn't
fix all of your POSIX interoperability problems; but it helps.)
--
Braden McDaniel <braden@xxxxxxxxxxxxx>
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf
[GCC Help] [Kernel Discussion] [RPM Discussion] [Red Hat Development] [Yosemite News] [USB] [Samba]
![]() |
![]() |