Re: Building cpan module that links with proprietary libs

2014-05-30 Thread Andrew DeFaria
On 5/30/2014 1:01 AM, Csaba Raduly wrote: On Fri, May 30, 2014 at 4:36 AM, Andrew DeFaria wrote: On 5/29/2014 6:42 PM, Larry Hall (Cygwin) wrote: As a result, you will never get code compiled with g++ to link with these libraries. There is no common ABI among C++ compilers. Thus, the librari

Re: Building cpan module that links with proprietary libs

2014-05-30 Thread Larry Hall (Cygwin)
On 05/30/2014 04:01 AM, Csaba Raduly wrote: On Fri, May 30, 2014 at 4:36 AM, Andrew DeFaria wrote: On 5/29/2014 6:42 PM, Larry Hall (Cygwin) wrote: As a result, you will never get code compiled with g++ to link with these libraries. There is no common ABI among C++ compilers. Thus, the libra

Re: Building cpan module that links with proprietary libs

2014-05-30 Thread Larry Hall (Cygwin)
On 05/29/2014 10:36 PM, Andrew DeFaria wrote: On 5/29/2014 6:42 PM, Larry Hall (Cygwin) wrote: I had two archives two choose from. One was for Windows and contained the .lib files. The other was for Linux and contains .a files. I first tried the Linux one but that failed with: g++ -shared P4.

Re: Building cpan module that links with proprietary libs

2014-05-30 Thread Csaba Raduly
On Fri, May 30, 2014 at 4:36 AM, Andrew DeFaria wrote: > On 5/29/2014 6:42 PM, Larry Hall (Cygwin) wrote: >> As a >> result, you will never get code compiled with g++ to link with these >> libraries. There is no common ABI among C++ compilers. Thus, the >> libraries >> and headers of one can't b

Re: Building cpan module that links with proprietary libs

2014-05-29 Thread Andrew DeFaria
On 5/29/2014 6:42 PM, Larry Hall (Cygwin) wrote: I had two archives two choose from. One was for Windows and contained the .lib files. The other was for Linux and contains .a files. I first tried the Linux one but that failed with: g++ -shared P4.o -o blib/arch/auto/P4/P4.dll lib/libp4.a

Re: Building cpan module that links with proprietary libs

2014-05-29 Thread Larry Hall (Cygwin)
On 05/29/2014 01:48 PM, Andrew DeFaria wrote: On 5/29/2014 1:29 AM, Csaba Raduly wrote: Hi Andrew, On Thu, May 29, 2014 at 4:12 AM, Andrew DeFaria wrote: I'm attempting to build a cpan module (well actually it's not a cpan module but rather a module that uses MakeMaker and has the familiar pe

Re: Building cpan module that links with proprietary libs

2014-05-29 Thread Andrew DeFaria
On 5/29/2014 1:29 AM, Csaba Raduly wrote: Hi Andrew, On Thu, May 29, 2014 at 4:12 AM, Andrew DeFaria wrote: I'm attempting to build a cpan module (well actually it's not a cpan module but rather a module that uses MakeMaker and has the familiar perl Makefile.PL, make, make test, make install i

Re: Building cpan module that links with proprietary libs

2014-05-29 Thread Csaba Raduly
Hi Andrew, On Thu, May 29, 2014 at 4:12 AM, Andrew DeFaria wrote: > I'm attempting to build a cpan module (well actually it's not a cpan module > but rather a module that uses MakeMaker and has the familiar perl > Makefile.PL, make, make test, make install installation procedure. > Additionally I

Building cpan module that links with proprietary libs

2014-05-28 Thread Andrew DeFaria
I'm attempting to build a cpan module (well actually it's not a cpan module but rather a module that uses MakeMaker and has the familiar perl Makefile.PL, make, make test, make install installation procedure. Additionally I need to link it to a set of proprietary libs that I am given only the .