There's probably no point in me carefully using memset, seeing as a
bit later in the same function, when simplifying multiplication by a
power of two, the code says "vtop->c.ll = n". That looks as though it
wouldn't work on a big-endian host. Has anyone tried TCC, as a
cross-compiler, on a big-endian host? Would it be easy to try? Does
the configure script cope gracefully with an "unsupported" host
architecture? Does anyone here have easy access to a big-endian
machine or simulator?

(I see I still have that old SPARCstation 2 on the floor under my
desk, gathering dust. I doubt it would boot, though. It would probably
be easier to install a big-endian architecture under QEMU than get the
SPARCstation out from under all the other slighly more recent junk.)

Edmund

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to