This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tips for understanding the GCC codebase?


On Mon, Oct 20, 2003 at 09:13:36PM +0800, Jonathan Wilson wrote:
> For example, I have looked everywhere and I STILL cant figure out how to 
> tell GCC that the i[34567]86-pc-mingw target supports TLS and __thread.

target.h, target-def.h.  See have_tls.

> And I cant figure out how to tell GCC which variables can and cant be 
> marked __thread on win32 (to be fair, I dont know myself what is and isnt 
> valid when it comes to TLS on win32 :)

That you can't control.  That said, I don't think you'll need 
to change anything.

> And I cant figure out how to tell GCC how to spit out the right code for 
> these variables :(

I told you how to do that in private mail.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]