Re: Pthread detection in glib 2.2.1



On Mon, 2003-03-10 at 16:21, Daniel Egger wrote:
> Am Mon, 2003-03-10 um 21.52 schrieb Owen Taylor:
> 
> > I don't quite get how you can check a feature of the _runtime_
> > environment when cross-compiling. 
> 
> >  uname -a | grep 'Brokenix.*4.2'
> 
> This is not going to help at all because it's checking the
> name of the running system.

My point exactly.

> > isn't going to work any better than an AC_TRY_RUN. 
> > Plus, when you find a buggy version of an operating system, you
> > frequently have no idea what the right range of version
> > numbers is for such a check.
> 
> Sorry, my bad for being so terse but I'm quite in a rush.
> Compilers, assemblers and linkers can dump their supported featureset
> and the target options sometimes. This knowledge can be used to reveal
> available systemlibraries and features by parsing this output and or
> using this data (like paths to the crosscompiling environment) to
> figure out what the real system is like.

Sounds like a nightmare to me to try to use that information
to decide if the target has some particular run time bug.
Certainly not worth it without people running into real
problems.

Regards,
                                             Owen





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