Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^4: Perl & borland 5.5 C/C++ Compiler

by blm (Hermit)
on Aug 24, 2004 at 13:09 UTC ( [id://385381]=note: print w/replies, xml ) Need Help??

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

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:\>
But you didnt say anywhere in your post that this was a problem you just added it silently ;-)
# 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........
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

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

    First I actually gave you a ++ as your point was perfectly valid and I was far to lazy to try to get Borland to work (been there before). Someone downvoted every post on this node for whatever reason (just noted on update). Not my malice I'm afraid. But just to pick nits about the define. It is there, and must be there in your Borland compile. I have resorted to syntax highlighing ;-)

    C:\>perl -MExtUtils::Embed -e ccopts -e ldopts
    -tWD  -L"c:\perl\lib\CORE"  -L"C:\borland\bcc55\lib" -Gn  C:\perl\lib\CORE\perl58.lib 
    C:\borland\bcc55\lib\import32.lib C:\borland\bcc55\lib\cw32mti.lib



      Yep I need glasses. My bad. :-). I thought I copied and pasted. Oh well.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://385381]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 04:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found