[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] .rept .endr for *.S. Any ideas?
From: |
Vladimir Vissoultchev |
Subject: |
Re: [Tinycc-devel] .rept .endr for *.S. Any ideas? |
Date: |
Thu, 14 Apr 2016 19:27:51 +0300 |
Take a look at `tcc_define_symbol` in `libtcc.c` -- `next` and friends are
using the global `file` struct.
cheers,
</wqw>
-----Original Message-----
From: Tinycc-devel [mailto:address@hidden
On Behalf Of Sergey Korshunoff
Sent: Thursday, April 14, 2016 6:39 PM
To: address@hidden
Subject: Re: [Tinycc-devel] .rept .endr for *.S. Any ideas?
> Simply use GNU as for compiling your .S files from that old kernel.
It is not so old. It boots fine on AMD v140 CPU 2.2Ghz notebook (2011) And
this kernel is compiled in one pass, with all source files passed to the
tcc.
There are a few *.S files along *.c
> Remember tokes between the directives (instead of parsing them) and
> repeat the parsing loop N times with that token list at .endr, for
instance.
A main problem -- how to pass tokens to the next(). I can't remember how to
do this :-(
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel