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]

Re: libio/stdio-lock.h should not be in egcs/libio


> 
> hjl@lucon.org (H.J. Lu) writes:
> 
> > libio/stdio-lock.h in egcs/libio doesn't look right. It
> > is a platform-dependent file. It should be generated by
> > gen-params or something like it.
> 
> I haven't installed it this way.  What I have in libstdc++'s libio are
> a collection of appropriate include files and the configure script
> makes sure the correct file is selected for the platform (with a dummy
> file as default).  So I assume somethin is wrong with the egcs copy.
> 

Since the egcs's libio doesn't use any MT-safe stuff, you
won't see any probelms. When I applied my MT-sfae patch,
it doesn't work due to the dummy libio/stdio-lock.h.

BTW, how does the configure script in egcs figure out what
libio/stdio-lock.h should look like? When the other libio
is used, the same stdio-lock.h should be used also.

-- 
H.J. Lu (hjl@gnu.ai.mit.edu)


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