Bruce Korb
2013-01-12 20:38:38 UTC
Hi,
GCC's -g option takes an optional argument.
If you add to the command line:
./configure --enable-debug --disable-fast-install CFLAGS=-ggdb3
at some point, the script will remove the "-g" and then add it back in with a space
+ eval 'ac_val=$ac_configure_args'
++ ac_val=' '\''--enable-debug'\'' '\''--disable-fast-install'\'' '\''CFLAGS=-ggdb3'\'' '\''CC=/usr/bin/gcc'\'' '\''--with-packager=Bruce'\'' '\''--with-packager-version=2013-01-12'\'' '\''--with-packager-bug-reports=***@gnu.org'\'''
[....]
+ eval 'ac_val=$ac_cv_env_CFLAGS_value'
++ ac_val=-ggdb3
+ eval 'ac_val=$ac_save_CFLAGS'
++ ac_val=-ggdb3
+ eval 'ac_val=$ac_try_echo'
++ ac_val='configure:16225: /usr/bin/gcc -std=gnu99 -o conftest -g gdb3 conftest.c -ldl >&5'
I'd like to find the cause, but I just don't have the hours it would take.
GCC's -g option takes an optional argument.
If you add to the command line:
./configure --enable-debug --disable-fast-install CFLAGS=-ggdb3
at some point, the script will remove the "-g" and then add it back in with a space
+ eval 'ac_val=$ac_configure_args'
++ ac_val=' '\''--enable-debug'\'' '\''--disable-fast-install'\'' '\''CFLAGS=-ggdb3'\'' '\''CC=/usr/bin/gcc'\'' '\''--with-packager=Bruce'\'' '\''--with-packager-version=2013-01-12'\'' '\''--with-packager-bug-reports=***@gnu.org'\'''
[....]
+ eval 'ac_val=$ac_cv_env_CFLAGS_value'
++ ac_val=-ggdb3
+ eval 'ac_val=$ac_save_CFLAGS'
++ ac_val=-ggdb3
+ eval 'ac_val=$ac_try_echo'
++ ac_val='configure:16225: /usr/bin/gcc -std=gnu99 -o conftest -g gdb3 conftest.c -ldl >&5'
I'd like to find the cause, but I just don't have the hours it would take.