It seems to be fixed now, but when running the created executable it errors:
"./test": error: Android 5.0 and later only support position-independent 
executables (-fPIE).
Does tinycc not support PIE, and if not how on tell it does? Rerunning with 
-fPIE does not change anything. The contents of test.c are:

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


________________________________
From: Tinycc-devel <tinycc-devel-bounces+connor24nolan=live....@nongnu.org> on 
behalf of Connor Nolan <connor24no...@live.com>
Sent: Sunday, March 3, 2019 5:37 PM
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] TCC segfault on Fedora 29 Klaus Ebbe Grue

This also happens when running it on Android. It works with -run, it doesn't 
when compiling. This uses NDK r19's crt*.o files.
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to