Linux shell commands
Thursday, November 11, 2010
Cross compile the embedded Linux code
Below is the Linux shell command to cross compile embedded Linux code.
./arm-none-linux-gnueabi-gcc -o ObjectName ./FileName.c -Wl,-rpath=/sysroot/lib:/sysroot/usr/lib -Wl,--dynamic-linker=/sysroot/lib/ld-linux.so.3 -lpthread -lrt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment