Re: some question about aarch32 for ARM64

2015-03-16 Thread Jon Masters
On 2/24/15, 12:19 AM, loody wrote: PS:Below is my compile error message: #aarch64-linux-gnu-gcc -mabi=ilp32 test.c -mabi=ilp32 is entirely different from an AArch32 compiler. The above still generates AArch64 but with the ILP32 ABI (sizeof int/long/pointer is 32-bit). so per your explanation,

Re: some question about aarch32 for ARM64

2015-02-23 Thread loody
hi catalin: 2015-02-23 21:27 GMT+08:00 Catalin Marinas : > On Mon, Feb 23, 2015 at 12:28:57PM +, loody wrote: >> I follow below instructions to compile a simple c file as aarch32 but in >> vain. >> >> https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/AArch64-Options.html#AArch64-Options > > On the

Re: some question about aarch32 for ARM64

2015-02-23 Thread Catalin Marinas
On Mon, Feb 23, 2015 at 12:28:57PM +, loody wrote: > I follow below instructions to compile a simple c file as aarch32 but in vain. > > https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/AArch64-Options.html#AArch64-Options On the above link, there are no instructions on how to compile an AArch32 a

some question about aarch32 for ARM64

2015-02-23 Thread loody
hi all: I follow below instructions to compile a simple c file as aarch32 but in vain. https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/AArch64-Options.html#AArch64-Options And I download the toolchain from http://www.linaro.org/downloads/ (linaro-toolchain-binaries 4.9 (Aarch64 little-endian)) I sa