Re: Pthread detection in glib 2.2.1



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.

> 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.

-- 
Servus,
       Daniel

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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