Andrej van der Zee | 5 Jul 14:39
Picon
Favicon

Re: [Threads] how to cross-compile boost.threads from cygwin to target win32?

Hi,

You can use "bjam threadapi=win32".

Greets,
Andrej

--- frederic.bron <at> alcan.com wrote:

> 
> 
> 
> I have been using boost with success since 1 year on
> the following systems:
> 1) cygwin built with cygwin gcc/g++,
> 2) win32 built with cygwin gcc/g++ with -mno-cygwin
> flag,
> 3) linux built with both gcc/g++ or intel compiler.
> 
> I now want to use boost.threads and I have
> discovered that the library was not automatically
> built for system 2), i.e. win32. How can I force
> bjam to compile for the target win32 using windows
> threads
> instead of cygwin pthread?
> It seems that there are some bjam options like
> target-os and threadapi but I could not get any
> documentation for it. What is the list of possible
> target-os or threadapi values?
> 
> Regards,
> 
> F. Bron
> 
> Avis :
> Ce message et toute pièce jointe sont la propriété
> d'Alcan et sont destinés seulement aux personnes ou
> à l'entité à qui le message est adressé. Si vous
> avez reçu ce message par erreur, veuillez le
> détruire et en aviser l'expéditeur par courriel. Si
> vous n'êtes pas le destinataire du message, vous
> n'êtes pas autorisé à utiliser, à copier ou à
> divulguer le contenu du message ou ses pièces
> jointes
> en tout ou en partie.
> 
> Notice:
> This message and any attachments are the property of
> Alcan and are intended solely for the named
> recipients or entity to whom this message is
> addressed. If you have received this message in
> error
> please inform the sender via e-mail and destroy the
> message. If you are not the intended recipient you
> are not allowed to use, copy or disclose the
> contents or attachments in whole or in part.
> 
> _______________________________________________
> Boost-users mailing list
> Boost-users <at> lists.boost.org
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users
> 

      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html

Gmane