Hello. I'm working on porting GNAT to FreeBSD x86_64. I've created a mostly working i386 -> x86_64 cross compiler. In this case, mostly working means: i386$ /cross/x86_64/bin/x86_64-pc-freebsd7.2-gcc -c main.adb i386$ /cross/x86_64/bin/x86_64-pc-freebsd7.2-gnatbind main.ali i386$ /cross/x86_64/bin/x86_64-pc-freebsd7.2-gnatlink -o main main.ali i386$ file main main: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), for FreeBSD 7.2, dynamically linked (uses shared libs), FreeBSD-style, not stripped x86_64$ ./main Hello I've tested with a few other basic programs and the compiler does appear to work. However: i386$ rm -f *.o *.ali main i386$ /cross/x86_64/bin/x86_64-pc-freebsd7.2-gnatmake main x86_64-pc-freebsd7.2-gcc -c main.adb x86_64-pc-freebsd7.2-gnatmake: "main.ali" incompatible ALI file, please recompile x86_64-pc-freebsd7.2-gnatmake: "main.adb" compilation error gnatmake doesn't seem to be too happy. Anybody got any idea why gnatmake might get upset over the ALI files? i386$ /cross/x86_64/bin/x86_64-pc-freebsd7.2-gcc -v Using built-in specs. Target: x86_64-pc-freebsd7.2 Configured with: /root/gcc-4.4.0/configure --target=x86_64-pc-freebsd7.2 --prefix=/cross/x86_64 --enable-languages=c,ada --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local Thread model: posix gcc version 4.4.0 (GCC) xw