bugTiny C Compiler - Bugs: bug #66372, This app can't run on your PC

 
 

bug #66372: This app can't run on your PC

Submitter:  Alex <kulikalex>
Submitted:  Wed 23 Oct 2024 08:24:47 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 23 Oct 2024 12:12:09 PM UTC, comment #4: 

good
int ba[499119036];

int main(int argc, char **argv) {return 0;}

bad
int ba[499119037];

int main(int argc, char **argv) {return 0;}

Alex <kulikalex>
Wed 23 Oct 2024 10:41:21 AM UTC, comment #3: 

I don't know how to fix this "Exec format error". What should I do?

Alex <kulikalex>
Wed 23 Oct 2024 10:23:58 AM UTC, comment #2: 
Alex <kulikalex>
Wed 23 Oct 2024 09:42:23 AM UTC, comment #1: 

tcc-0.9.27-win64-bin in Win10

Alex <kulikalex>
Wed 23 Oct 2024 08:24:47 AM UTC, original submission:  

This app can't run on your PC
To find a version for your PC, check the softwere publisher.

If I compile and run

#include <stdio.h>
#define len 500000000

int phi[len];

int main() {
  for (int i = 2; i < len; i++) {
    phi[i] = i - 1;
  }
  phi[0] = 0;
  phi[1] = 1;
  for (int i = 2; i < len; i++) {
    for (int j = 2 * i; j < len; j += i) {
      phi[j] -= phi[i];
    }
  }
  return 0;
}

Alex <kulikalex>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kulikalex (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-430a.
    Corresponding source code