Re: [AD] mingw, static, tls

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, July 18, 2009 9:48 am, Matthew Leverton said:
> On Sat, Jul 18, 2009 at 10:04 AM, Trent Gamblin<trent@xxxxxxxxxx> wrote:
>> If you're using gcc < 4 you can't compile a static lib with MinGW.
>> It doesn't support native TLS.
>>
> What does that mean? I did see it buried in the a5_readme.txt as I was
> looking for some info on OS X after the fact.
>
> I built it with my horrible hack, and it "worked." What features
> cannot work properly? Is there no way to support it, or has nobody
> felt like supporting it?

Your hack will only work for single threaded programs.

> And if it cannot be made to work, then cmake ought to detect MinGW's
> version and tell the user instead of letting him build it, only to
> find out that it crashes.

Yes it probably should.

Trent :{)>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/