Hi, Apologies to anyone receiving/reading this for the second time, I originally sent this to the wrong list. I'm hoping to port an application to open vms using HP C++7.3. I don't suppose anyone has any dcl scripts to build boost. I 'only' need asio and threading. Currently I'm just trying to compile the asio chat examples. I'm completely new to VMS and the compiler, I managed to get a few things to compile but now get a "could not open source file "sys/select.h"', a bit of googling suggests I may need to have an HP porting library installed or maybe I'm just missing an prepocessor directive to include the correct code, can't see anything obvious in socket_types.hpp to set? Any pointers in the right general direction would be gratefully appreciated. Kind Regards, Vic -- Victor Kirk Analyst Transportation Systems - Network Services Serco Civil Government Cavendish House Clearwater Park Prince's Wharf Stockton-On-Tees TS17 6QY T +44 (0) 1642 636 894 F +44 (0) 1642 636 701 Victor.Kirk@serco.commailto:user.name@serco.com www.serco.comhttp://www.serco.com [cid:image001.gif@01CD1271.9BF065C0]http://www.serco.com/ This e-mail and any attachments are for the intended addressee(s) only and may contain confidential and/or privileged material. If you are not a named addressee, do not use, retain or disclose such information. This email is not guaranteed to be free from viruses and does not bind Serco in any contract or obligation. Serco Limited. Registered in England and Wales. No: 242246 Registered Office: Serco House,16 Bartley Wood Business Park, Hook, Hampshire RG27 9UY United Kingdom.
Currently I’m just trying to compile the asio chat examples. ... Any pointers in the right general direction would be gratefully appreciated.
Take a look on this: http://lists.boost.org/Archives/boost/2010/07/169371.php (Same thread in other interface) http://thread.gmane.org/gmane.comp.lib.boost.devel/207054 There are some patches for Asio and OpenVMS. You don't really need Boost.Build as some libraries are trivial to build manually, for example system is just to compile one file, thread is compile 3 files, that's it. I don't know if this patch is good for latest Asio but it should work with 1.43.0. Some of the patches are already in in later Boost versions but not the Asio's one. One thing I should recommend is to define BOOST_ASIO_HASH_MAP_BUCKETS to some constant (See: http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/using.html) To workaround a bug in DECCXX standard library where std::list::splice does not work correctly. Regards, Artyom
I don't know if this patch is good for latest Asio but it should work with 1.43.0. Some of the patches are already in in later Boost versions but not the Asio's one.
Many thanks for this, it was very helpful. I did have to drop back to 1.43.0, was taking up too much time to manually apply to the latest version, and my immediate aim was to see if boost on openvms is a viable solution. I think we are probably going to use it, if so I'll try and create a patch for the parts that have not been applied yet, but think I'll go for a GIT repo pulling from boost to ease keeping up to date. Thanks very much for the help, greatly appreciated. Kind Regards, Vic --
participants (2)
-
Artyom Beilis
-
Victor Kirk