Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Unified Diff: tests/translation_service/compile_x64.sh

Issue 3356014: HTTP service that converts *.bc to *.nexe.... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/translation_service/bc2nexe.py ('k') | tests/translation_service/hello_world.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tests/translation_service/bc2nexe.py ('k') | tests/translation_service/hello_world.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698