> I was doing some testing of someone else's upcoming release of Devel::Size
> (0.72), which
> has been significantly rewritten and is quite different to the current CPAN
> version (0.71).
I believe I was the one who rewrote it recently.
> If it does build for more recent cygwin perls, then I gue
Sisyphus wrote:
> Apparently g++ needs a "-shared" but ld2 doesn't. (I don't understand that.)
>
> And I don't understand what is achieved by:
>
> gcc -shared -o
> Size.dll -Wl,--out-implib=libSize.dll.a -Wl,--export-all-symbols
> -Wl,--enable-auto-import
> -Wl,--stack,8388608 -Wl,--enable-au
- Original Message -
From: "Brian Dessent" <[EMAIL PROTECTED]>
.
.
Please post the entire link command and not just the error. It's
impossible to say what the true nature of the problem is otherwise. For
example, if you're trying to link a library and not an executable then
the abov
Sisyphus wrote:
> Of course, the other option on both linux and cygwin is to set *both*
> $Config{cc} and $Config{ld} to 'g++', and that works fine on linux, but
> doesn't quite work on cygwin where I still get an undefined reference to
> [EMAIL PROTECTED]':
>
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/
- Original Message -
From: "Reini Urban" <[EMAIL PROTECTED]>
.
.
Current cygwin perl already has g++ as LD for some releases.
Good - I think that's a step in the right direction. (I wonder how we can
get linux builds to start doing the same.)
On my 5.8.8, LD is set to ld2 which, I t
2008/10/20 Sisyphus:
>> Really the correct way to link C++ code is by using g++ which doesn't
>> require this manual -lstdc++ nonsense. Can't you just do that, by
>> either fixing the makefile to link with $(CXX) or overriding the
>> appropriate variable?
> Aaah ... good point. I had missed somet
- Original Message -
From: "Brian Dessent" <[EMAIL PROTECTED]>
But on cygwin, there is no '-lstdc++' to be found in $Config{libpth}, so
MakeMaker decides to not pass the switch on (which has always been
MakeMaker's policy in such cases, afaik). This is a pity - there would be
no
proble
Sisyphus wrote:
> But on cygwin, there is no '-lstdc++' to be found in $Config{libpth}, so
> MakeMaker decides to not pass the switch on (which has always been
> MakeMaker's policy in such cases, afaik). This is a pity - there would be no
> problem if it *did* the pass switch on, as both gcc and g
- Original Message -
From: "Sisyphus" <[EMAIL PROTECTED]>
.
.
How do I write that LIBS assignment so that it would be portable across
different *Cygwin* installations ?
I still don't know how to do that - though I did come to a better
understanding of how the problem arises.
F
Hi,
On linux, I can have my perl distro link to libstdc++ by simply specifying
(in the Makefile.PL's %WriteMakefile) :
LIBS => ['-lstdc++'],
And, for MinGW-built perls on Win32, the same construct works.
For Cygwin, it seems that is not sufficient (as the directory that houses
libstdc++.a i
10 matches
Mail list logo