Shameek Basu wrote:
[snip HTML stuff]
I am also a newbie at this. I've "solved" a small portion of your
problem, with some help from others on this list. Here's what I'd
do.
in your top level Makefile.am file, add a target:
debug:
$(MAKE) all "CXXFLAGS=-g -DDEBUG"
now, if you want to have
>>> "Dean" == Dean Hoover <[EMAIL PROTECTED]> writes:
[...]
Dean> Another thing you could do is make multiple build directories
Dean> and always make in a certain way in them. In other words, you
Dean> could:
Dean> mkdir debug-build opt-build
Dean> cd debug-build; $top_srcdir/configure; ma
Alexandre Duret-Lutz wrote:
>
> >>> "Dean" == Dean Hoover <[EMAIL PROTECTED]> writes:
>
> [...]
>
> Dean> Another thing you could do is make multiple build directories
> Dean> and always make in a certain way in them. In other words, you
> Dean> could:
>
> Dean> mkdir debug-build opt-build
I'm using AM_CONFIG_HEADER to insert a couple of configure-time
defines into headers which will be installed. This works well, except
that I want to have one literal #undef pass through, rather than be
commented out like normally happens.
Perhaps a special marker could stop selected #undef's fro
We've made a change in the newest version of cygwin that stops the
Windows headers from being searched unless a -mwin32 option is specified
on the gcc command line. This option also causes Windows options like
"WIN32" to be defined automatically.
We've done this to make porting easier for some p
On Tue, Mar 06, 2001 at 05:51:45PM +0100, Assar Westerlund wrote:
> Mike Castle <[EMAIL PROTECTED]> writes:
> > NT. (NT will happily rename() across disks, hardly an atomic operation).
>
> What rename() is that? It's not the one in their posix library I
> assume? Is there a rename function in
Kevin Ryde wrote:
>
> #define __need_size_t
> #include
> #undef __need_size_t /*NOTATEMPLATE*/
#ifdef __undef_need_size_t
#undef __need_size_t
#endif
BTW, if you want to install a config.h file, you may want to use this:
http://pfe.sourceforge.net/autoconf/ac_prefix_
Guido Draheim <[EMAIL PROTECTED]> writes:
>
> #ifdef __undef_need_size_t
> #undef __need_size_t
> #endif
No, that still gets transformed to
#ifdef __undef_need_size_t
/* #undef __need_size_t */
#endif
> BTW, if you want to install a config.h file, you may want to use th
On Mar 7, 2001, Christopher Faylor <[EMAIL PROTECTED]> wrote:
> Basically, I think we need something like a AC_PROG_GCC_USES_MWIN32.
I have mixed feelings about having this macro in autoconf. On one
hand, it would be kind of promoting the use of proprietary software.
On the other, I see it wou