[ODE] Building for both i386 and PPC on OS X
b.stolk at gmail.com
Thu Oct 18 08:00:53 MST 2007
I added that, so that it would be possible to do
./configure --disable-debug --enable-release and not get the symbols.
Somehow -g creeps in automatically.
On 10/18/07, Samuli Riihonen <samuli at riihonen.net> wrote:
> Yes, after modifying configure.in, my flags are again taken into
> It says:
> dnl Set CFLAGS to zero, so that we avoid getting the gratis -g -O2
> Is this intended behaviour to always empty the said flags?
> - Samuli
> On 18.10.2007, at 10.23, Bram Stolk wrote:
> > Works for me:
> > CXXFLAGS="-Wall -O3" ./configure --prefix=/tmp
> > ...
> > make: Entering directory `/home/bram/src/opende/drawstuff/src'
> > if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -g -I../../
> > include -I../../include -Wall -O3 -g -I -L -MT libdrawstuff_a-
> > drawstuff.o -MD -MP -MF ".deps/libdrawstuff_a-drawstuff.Tpo" -c -o
> > libdrawstuff_a-drawstuff.o `test -f 'drawstuff.cpp' || echo
> > './'`drawstuff.cpp; \
> > then mv -f ".deps/libdrawstuff_a- drawstuff.Tpo" ".deps/
> > libdrawstuff_a-drawstuff.Po"; else rm -f ".deps/libdrawstuff_a-
> > drawstuff.Tpo"; exit 1; fi
> > But if it does not for you, take out the CFLAGS= and CXXFLAGS= from
> > configure.in and run autogen.sh
> > bram
> > On 10/17/07, Samuli Riihonen <samuli at riihonen.net> wrote: Hello again.
> > Has something been changed in the build system between 0.8 and 0.9
> > that disables the environmental CFLAGS and CXXFLAGS?
> > For some reason it seems that these values do not end up in the
> > generated Makefiles anymore.
> > - Samuli
> > --
> > Zapp: Captain's log, stardate...er..
> > Kif: Ohhh. April 13th.
> > Zapp: April 13th. Point 2.
> ODE mailing list
> ODE at ode.org
Zapp: Captain's log, stardate...er..
Kif: Ohhh. April 13th.
Zapp: April 13th. Point 2.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ODE