tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Merging patches...


From: Daniel Glöckner
Subject: Re: [Tinycc-devel] Merging patches...
Date: Mon, 9 Oct 2006 23:17:56 +0200
User-agent: Mutt/1.4.2.1i

On Mon, Oct 09, 2006 at 03:53:28PM -0400, Rob Landley wrote:
> Is that the only one that needs per-arch tweaking?

Let's see...

The c67 target can pass only simple values <= 4 bytes to functions and has
no code to handle the variable arguments passed in registers.

The il target is too abstract to deal with stack alignment.
Does it even compile?

Did I miss any target?

> (Is there some "I 
> am currently building for this architecture" #ifdef I can check?

See tcc_new()
TCC_TARGET_I386 defines __i386__
TCC_TARGET_ARM defines __arm__

The Scratchbox GCC ARM EABI cross compiler defines __ARM_EABI__ to 1.
We could do so as well.


Btw., I have 3 years of tinycc-devel on my mailserver that I could send you.

  Daniel




reply via email to

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