When running TCC on Android, it will work when running with -run. It doesn't 
work when creating an executable. Running the executable gives this error:
"./test": error: Android 5.0 and later only support position-independent 
executables (-fPIE).
The program was:

#include <stdlib.h>
int main() {
  printf("Hello World\n");
  return 0;
}

The compile script for TCC is 
https://gist.github.com/TheBrokenRail/eaf0548c890cb43f39931c0be050944b
[https://avatars0.githubusercontent.com/u/17478432?s=400&v=4]<https://gist.github.com/TheBrokenRail/eaf0548c890cb43f39931c0be050944b>

Build 
TinyCC<https://gist.github.com/TheBrokenRail/eaf0548c890cb43f39931c0be050944b>
Build TinyCC. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com


_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to