Advertisement
Guest User

Ankur

a guest
Nov 1st, 2010
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.48 KB | None | 0 0
  1. test.c
  2.  
  3. #include <stdio.h>
  4. int main()
  5. {
  6.     printf("Hello world\n");
  7.     return 0;
  8. }
  9.  
  10. -------------------------------------------------------------
  11.  
  12. OUTPUT:
  13.  
  14. quipment@ubuntu:/home/ankur$ arm-none-eabi-gcc -o test test.c
  15. /opt/codesourcery/lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/bin/ld: cannot open output file test: P
  16. collect2: ld returned 1 exit status
  17. quipment@ubuntu:/home/ankur$ sudo arm-none-eabi-gcc -o test test.c
  18. sudo: arm-none-eabi-gcc: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement