Open main menu

CDOT Wiki β

Changes

LEAP ILP 32

115 bytes added, 17:01, 4 August 2015
no edit summary
* Run "/opt/ilp32/usr/bin/gcc -c -mabi=ilp32 hello.c".
* Run "ld -m aarch64elf32 hello.o".
* If you want to run it in one commands, use "/opt/ilp32/usr/bin/gcc -mabi=ilp32 -Xlinker -maarch64elf32 hello.c".
* Run "file a.out".
* Check that it says "ELF32", "executable binary" and "statically linked".