in reply to Compiling DBD::Sybase with Borland C++ 5.5

Did you build your copy of perl with Borland? If not, then you probably on a hiding to nothing.

Whilst DLLs ought to be independant of the compilers that produce them, my experience is that the DLLs produced when building perl extensions seem to have some peculiar dependancies that often make it impossible to use one built with Borland in conjuction with a perl built with VC++ (ie. AS).

I've not really tied down quite why this is the case, I did spend some time trying to investigate it, but got kind of demoralised and gave up. I have built some modules with Borland that result in a dll that work fine with AS, but mostly not.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
If I understand your problem, I can solve it! Of course, the same can be said for you.

  • Comment on Re: Compiling DBD::Sybase with Borland C++ 5.5

Replies are listed 'Best First'.
Re: Re: Compiling DBD::Sybase with Borland C++ 5.5
by Roger (Parson) on Oct 01, 2003 at 23:10 UTC
    Thanks for the advise. :-)

    I will try to look for a visual C compiler to compile the DLL with. Making it to compile with borland was a bit hard.

      Unfortunately, that tends to be the case, which is a crying shame. It rankles with me that the only way to use Perl on the Win32 platform forces so many people into either purchasing VC++ (and throwing good money into the MS coffers!) or obtaining it through "dubious means", when there are several free compilers available.

      There is the Cygwin route of course, but that adds yet another unnecessary and complicating layer into the mix.

      Unless we could build up a head of steam behind one, free, native Win32 compiler, the situation of dependancy upon VC++ will continue:(


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
      If I understand your problem, I can solve it! Of course, the same can be said for you.