tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] argc is always 0 when TinyCC compiles nolibc's crt.h


From: Jonathan M. Wilbur
Subject: Re: [Tinycc-devel] argc is always 0 when TinyCC compiles nolibc's crt.h
Date: Thu, 01 Aug 2024 11:51:32 +0000

Adding the assembly by GCC for the same program, for comparison.

On Thu, Aug 1, 2024 at 11:45, Jonathan M. Wilbur <jonathan@wilbur.space> wrote:
Hello,

When TinyCC compiles a program using nolibc's crt.h, the resulting program always has an argc of 0, but this does not happen with GCC. I simply don't have a grasp on assembly enough to see what is wrong, but I have attached it if somebody could help me interpret it.

Cheers,

- Jonathan M. Wilbur

Attachment: nolibc_start_c_assembly_gcc.txt
Description: Text document


reply via email to

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