tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] PIE Support Android


From: Connor Nolan
Subject: [Tinycc-devel] PIE Support Android
Date: Wed, 6 Mar 2019 22:20:22 +0000

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]