The thing is that both libraries will depend on different CRT which at
the same time will alloc and release objects from their HEAP, mixing
CRTs in the same space will segfault. Been there, done that.
Well, this is a different issue.  But I disagree with your conclusion - if
you are careful it is doable.


The problem is that careful people like you will do, but nobody else.

I've been bitten several times by cross CRT dealing with C, Python and
Ruby in the past to know the damage it can do and how hard is track it
down and fix it.

Even for Python guys building python with different version of VC++ is
complicated (you should check their compile instructions).

7.1, 8.0 and now 9.0 each one links to different CRTs, messing with
that is like messing with nitroglycerin.

I definitely agree it isn't the easiest thing....

Again: ExtensionTask is not building your extension from scratch, is
using your defined build script which generates a makefile. Then is
calling make and taking care the binary (so o bundle) is properly put
into lib folder.

Ok.  But Ruby gems already does this, so what's the difference?

Or are you just focused on putting together binary gems - in which case Ruby gems offers no help at all? In that case, then I agree with you.

Charlie

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to