in reply to Re: Re: Problem with compiling Inline::C on cygwin
in thread Problem with compiling Inline::C on cygwin

Actually, and I missed this in my first reply, the ld2 line does seem to be linking the library correctly (or at least without errors):
LD_RUN_PATH="" ld2 -s -L/usr/local/lib _04perlapi_t_3c76.o -o blib/a +rch/auto/_04perlapi_t_3c76/_04perlapi_t_3c76.dll /usr/lib/perl5/5.8.0 +/cygwin-multi-64int/CORE/libperl.dll.a
It does -o blib/arch/auto/_O4perlapi_t_3c76/_04perlapi_t_3c76.dll. This creates the dll in that directory (-o specifies the output file of the linking operation). So the problem occurs somewhere between this line (inclusive) and the chmod line further downstream. What's in blib/arch/auto/_04perlapi_t_c76 after you did the above steps?

CU
Robartes-

Replies are listed 'Best First'.
Re: Re^3: Problem with compiling Inline::C on cygwin
by zby (Vicar) on Mar 06, 2003 at 10:13 UTC
    There is lib_04perlapi_t_3c76.dll.a - thats why I say there is something wrong with the ld2.