Index: tests/translation_service/compile_x64.sh |
=================================================================== |
--- tests/translation_service/compile_x64.sh (revision 0) |
+++ tests/translation_service/compile_x64.sh (revision 0) |
@@ -0,0 +1,10 @@ |
+NACL=../../../ |
+TOOLCHAIN=$NACL/native_client/toolchain/linux_arm-untrusted |
+$TOOLCHAIN/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -emit-llvm -std=gnu99 -fomit-frame-pointer -c -O2 -DNACL_STANDALONE=1 -I$NACL ./hello_world.cc ./npp_gate.cc ./hello_world_module.cc -nostdinc -D__native_client__=1 -isystem $TOOLCHAIN/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.2.1/include -isystem $TOOLCHAIN/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.2.1/install-tools/include -isystem $TOOLCHAIN/arm-none-linux-gnueabi/arm-none-linux-gnueabi/include/c++/4.2.1 -isystem $TOOLCHAIN/arm-none-linux-gnueabi/arm-none-linux-gnueabi/include/c++/4.2.1/arm-none-linux-gnueabi -isystem $TOOLCHAIN/arm-none-linux-gnueabi/arm-none-linux-gnueabi/include -isystem $TOOLCHAIN/arm-newlib/arm-none-linux-gnueabi/include |
+$TOOLCHAIN/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld $TOOLCHAIN/libs-x8664/crt1.o $TOOLCHAIN/libs-x8664/crti.o $TOOLCHAIN/libs-x8664/crtbegin.o $TOOLCHAIN/libs-bitcode/nacl_startup.o ./hello_world.o ./npp_gate.o ./hello_world_module.o -lgoogle_nacl_imc -lgoogle_nacl_npruntime -lsrpc $TOOLCHAIN/libs-x8664/libcrt_platform.a $TOOLCHAIN/libs-x8664/crtn.o -L$TOOLCHAIN/libs-bitcode -lpthread -lnacl -lstdc++ -lc -lnosys -lgcc -L$TOOLCHAIN/libs-x8664 -plugin=$TOOLCHAIN/arm-none-linux-gnueabi/lib/libLLVMgold.so -plugin-opt=emit-llvm -o ./hello_world.nexe.bc |
+$TOOLCHAIN/arm-none-linux-gnueabi/bin/llc -march=x86-64 -mcpu=core2 ./hello_world.nexe.bc -o ./hello_world.nexe.bc.s |
+TOOLCHAINGCC=$NACL/native_client/toolchain/linux_x86 |
+$TOOLCHAINGCC/bin/nacl64-as --nacl-align 5 -n -mtune=core2 ./hello_world.nexe.bc.s -o hello_world.nexe.bc.o |
+$TOOLCHAIN/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld --native-client -nostdlib -T $NACL/native_client/tools/llvm/ld_script_x8664_untrusted -static $TOOLCHAIN/libs-x8664/crt1.o $TOOLCHAIN/libs-x8664/crti.o $TOOLCHAIN/libs-x8664/crtbegin.o ./hello_world.nexe.bc.o -lgoogle_nacl_imc -lgoogle_nacl_npruntime -lsrpc $TOOLCHAIN/libs-x8664/libcrt_platform.a $TOOLCHAIN/libs-x8664/crtn.o -lpthread -lnacl -lstdc++ -lc -lnosys -lgcc -L$TOOLCHAIN/libs-x8664 -L$TOOLCHAIN/libs-x8664-bc -o ./hello_world.nexe |
+ |
+ |
Property changes on: tests/translation_service/compile_x64.sh |
___________________________________________________________________ |
Added: svn:executable |
+ * |
Added: svn:eol-style |
+ LF |