in reply to Re^3: Perl & borland 5.5 C/C++ Compiler
in thread Perl & borland 5.5 C/C++ Compiler
I DID read your post
Thanks :-) now I know -DWIN32 is important
But you didnt say anywhere in your post that this was a problem you just added it silently ;-)C:\>bcc32 -tWD -DWIN32 -I"c:\perl\lib\CORE" -L"C:\borland\bcc55\lib" + C:\perl\ lib\CORE\perl58.lib C:\borland\bcc55\lib\import32.lib C:\borland\bcc55 +\lib\cw32m ti.lib perl_inc.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland perl_inc.c: Warning W8070 perl_inc.c 14: Function should return a value in functio +n main Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland C:\>
And this is what I did. There is no -DWIN32 in: perl -MExtUtils::Embed -e ccopts -e ldopts Which is what everyone was saying Nalina use. I personally dont think that it is possible for everyone to use cl.exe# Essentially we pass all the same -D defines that perl was built with + plus # the include dir to find the perl headers and the perl56.lib binary w +hich is # what where the real functions defined in the headers are found and w +hat we # will be linking against........
ps Please stop down voting me now. I was only trying to help. There was no malice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Perl & borland 5.5 C/C++ Compiler
by tachyon (Chancellor) on Aug 24, 2004 at 13:22 UTC | |
by blm (Hermit) on Aug 24, 2004 at 13:34 UTC |
In Section
Seekers of Perl Wisdom