The answer is no.
The tool chain you are referencing is old, and works for 32bit architectures.
You need this (ubuntu):
sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
The answer is no.
The tool chain you are referencing is old, and works for 32bit architectures.
You need this (ubuntu):
sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
64-bit ARM support in GCC is separate backend, called AARCH64. So your compiler normally must be called something like gcc-aarch64-linux-gnu-*.
Still, your question is strange, because, if you will rename 64-bit ARM compiler executable to gcc-arm-linux-gnueabi (you may do it, why not), then answer will be yes.
How to install aarch64-linux-gnu and arm-linux-gnueabihf in cygwin for cross compilation
c - How can I build ARMv8 aarch32 binary? - Stack Overflow
embedded - What is the difference between aarch64-none-elf and arm-none-eabi? - Stack Overflow
Cross-compilation from Arch Linux x86-64 to Raspberri Pi OS Armv8
ILP32 and ILP64 are both AArch64, just one of them is limited to 32-bit addresses, but instruction encoding is the same. For that you will need to use a special toolchain. I have not tried this, but you should Google for "AArch64 ILP32 toolchain". Looks like it's not actively maintained though. If you want AArch32, that is just ARMv7 and you need the regular arm toolchain (arm-linux-gnueabihf). https://wiki.linaro.org/Platform/arm64-ilp32
There is now a cross-toolchain for amd64 targetting arm64ilp32 for Debian stable here: https://people.linaro.org/~wookey/ilp32/
It's very new, but seems to work fine. Note that this targets arm64ilp32 only. If you want to also target normal arm64 (LP64) then you need to also install the aarch64-linux-gnu crosscompiler that is already in the archive.
Feedback is very welcome. The g++ cross-complier is not yet installable because there is no corresponding libstdc++:arm64ilp32 available.
Update (sept 2017). This repo now contains a debootstrappable arm64ilp32 set of packages for Debian stable.