[ODE] Building for both i386 and PPC on OS X

Bram Stolk b.stolk at gmail.com
Thu Oct 18 00:23:32 MST 2007


Works for me:

CXXFLAGS="-Wall -O3" ./configure --prefix=/tmp

...

make[2]: 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ode.org/pipermail/ode/attachments/20071018/fd039348/attachment.htm


More information about the ODE mailing list