> It's not so difficult. Just tell configure that you want a different
> build. Add --target=i686-pc-linux-gnu (or whatever the appropriate
> target type is) to the configure options to override the platform type
> that autoconf guesses. (You'll still need to specify CC="gcc -m32" and
> you may need it on the CPP invocation as well. It's not enough to only
> put it in CFLAGS.)

Thanks Howard, that got me a little further.  Now I'm running into the
following error:

gcc -m32 -o jsmathtemp.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"
-DEXPORT_JS_API  -DJS_USE_SAFE_ARENA   -I../../dist/include/js
-I../../dist/include -I/ita/devel/mozilla/dist/include/nspr     -I.
-I/usr/X11R6/include   -fPIC -I/usr/X11R6/include -Wall -W -Wno-unused
-Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread  -DDEBUG
-D_DEBUG -DDEBUG_davido -DTRACING -g -fno-inline  -I/usr/X11R6/include
-include ../../mozilla-config.h -DMOZILLA_CLIENT
-Wp,-MD,.deps/jsmath.pp jsmath.c
ld -r -o jsmath.o jsmathtemp.o fdlibm/libfdm.a
ld: Relocatable linking with relocations from format elf32-i386
(jsmathtemp.o) to format elf64-x86-64 (jsmath.o) is not supported
gmake[4]: *** [jsmath.o] Error 1
gmake[4]: Leaving directory `/ita/devel/mozilla/js/src'


Any ideas?

_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to