Hello All
As (I imagine) many developers I have a 64 bits machine - running Debian
(Sid) Linux AMD64.
I want to test my MELT branch on x86 (32 bits). So I set up (using
debootstrap) a x86 32 bits Debian/Lenny chroot-ed system (in /debian32)
which has most of the *-dev packages installed.
In this chroot-ed environment I am able to compile several software
without issues. For example, I just compiled there the PPL.
The point is that even after schroot the uname system call (& the uname
command) still return x86_64 as the machine. I suppose there is no easy
trick to circumvent this.
I thought that
../configure --build=x86-linux --target=x86-linux --host=x86-linux
(with other MELT specific options) should be enough, but apparently not;
make fails with
checking for struct tms... yes
checking for clock_t... yes
checking for .preinit_array/.init_array/.fini_array support... yes
checking if mkdir takes one argument... no
*** Configuration x86-unknown-linux-gnu not supported
make[1]: *** [configure-gcc] Error 1
make[1]: Leaving directory `/usr/src/Lang/_MeltObj32'
and gcc/config.log does indeed show
hostname = glinka
uname -m = x86_64
uname -r = 2.6.24-1-amd64
uname -s = Linux
uname -v = #1 SMP Fri Apr 18 23:08:22 UTC 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
Any hints are welcome. If possible, I would like to avoid to have to
install a virtual machine...
Regards
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***