Richard wrote:
>
> In a Glade 0.5.1 generated project directory, where do I change the default
> compiler before I run autogen.sh? What about the compiler options (eg. -O6 -mcpu
>...)?
> I would prefer not to have to change each Makefile before running make. I tried
> setting an environmental variable (export CFLAGS =-O6) first, but it doesn't seem to
>have
> any affect.
My guess is to delete config.cache, set CFLAGS to whatever you want (make sure its
exported), then run ./autogen.sh
I always have CFLAGS set to -g, so all my projects are compiled with debugging info.
> How do I change the compiler that is used when Glade is compiled from source?
>From the autoconf info pages:
- Macro: AC_PROG_CC
Determine a C compiler to use. If `CC' is not already set in the
environment, check for `gcc', and use `cc' if that's not found.
Set output variable `CC' to the name of the compiler found.
So you set the CC environment variable to the name of your compiler before
running configure.
Damon
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.