BCD and OpenSSL
Kyle Furlong
kylefurlong at gmail.com
Sun Jun 3 12:22:32 PDT 2007
Regan Heath wrote:
> Hi all,
>
> I decided to have another crack at BCD and the openssl headers. I found a windows bcdgen binary package, mentioned in the dsource forums, but am having a little trouble using it.
>
> So far I have a copy of the openssl headers in a directory:
>
> G:\Src\openssl\h\openssl
>
> and plan to port them to D files in:
>
> G:\Src\openssl\d\
>
> so, I fire up bcdgen like so:
>
> G:\Src\openssl\h>bcdgen openssl\ssl.h openssl -b -C
> openssl/ssl.h:173:27: openssl/e_os2.h: No such file or directory
> openssl/ssl.h:176:26: openssl/comp.h: No such file or directory
> openssl/ssl.h:179:25: openssl/bio.h: No such file or directory
> openssl/ssl.h:183:26: openssl/x509.h: No such file or directory
> openssl/ssl.h:185:28: openssl/crypto.h: No such file or directory
> openssl/ssl.h:186:27: openssl/lhash.h: No such file or directory
> openssl/ssl.h:187:28: openssl/buffer.h: No such file or directory
> openssl/ssl.h:189:25: openssl/pem.h: No such file or directory
> openssl/ssl.h:191:26: openssl/kssl.h: No such file or directory
> openssl/ssl.h:192:31: openssl/safestack.h: No such file or directory
> openssl/ssl.h:193:30: openssl/symhacks.h: No such file or directory
> openssl/ssl.h:982:26: openssl/ssl2.h: No such file or directory
> openssl/ssl.h:983:26: openssl/ssl3.h: No such file or directory
> openssl/ssl.h:984:71: openssl/tls1.h: No such file or directory
> openssl/ssl.h:985:46: openssl/dtls1.h: No such file or directory
> openssl/ssl.h:986:27: openssl/ssl23.h: No such file or directory
>
> I tried various permutations of the -I option but I dont think it applies here as I am converting C headers, not C++.
>
> Anyone have a suggestion? bcdgen seems to need an option for specifying import paths or something.
>
> Hopefully I am not being too dense, any help is appreciated.
>
> Regan Heath
bcd uses gcc-xml to do the C++ parsing, so you need to set the
environment variables that it uses in order for it to fuction correctly.
Off the top of my head, I think its some variant of CXXFLAGS? Check the
gcc-xml docs though.
More information about the Digitalmars-d
mailing list