Please test snapshots of the coming R9C

Kent Boortz kent@REDACTED
Thu Jul 17 10:10:04 CEST 2003

snickl@REDACTED writes:
> The problem seems to be that the part of the build that makes the
> directories "believes" the --host option, while the part that
> generates the makefiles goes with autodetection.

Haven't tried it but this may work

  % ./configure --host=i386-pc-linux-gnu
  % make TARGET=i386-pc-linux-gnu

> This gets you trouble when you want to use binaries on different machines,
> but compile (as always) on the fastest around.

Are you sure -host will make a difference for vanilla "configure"
scripts, i.e. that it will set -mARCH to gcc? I know it will if you
build gcc or maybe recompile a kernel but I thought this was because
they explicitely handled this in their "".

I haven't tried this but mayby something like (in sh/bash)

  % CFLAGS="-g -O2 -m386" ./configure

will work if we pass CFLAGS correctly between the make files.

If nothing of the above works I'm afraid we will not be able
to do something about this to R9C-0,


More information about the erlang-questions mailing list