Author: Not specified Language: text
Description: Not specified Timestamp: 2017-07-28 23:42:31 +0000
View raw paste Reply
  1. Checking your choice of C compiler and flags for coherency...
  2. I've tried to compile and run the following simple program:
  3.  
  4. #include <stdio.h>
  5. int main() { printf("Ok\n"); return(0); }
  6.  
  7. I used the command:
  8.  
  9.         armv4--netbsdelf-eabi-gcc -o try -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib try.c -lm -lcrypt -lpthread
  10.          ./try
  11.  
  12. and I got the following output:
  13.  
  14. sh: Cannot execute ELF binary ./try
  15. The program compiled OK, but exited with status 2.
  16. You have a problem.  Shall I abort Configure [y]  
  17. Ok.  Stopping Configure.
  18.  
View raw paste Reply