[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: archive_commands
From: |
Christopher Hulbert |
Subject: |
Re: archive_commands |
Date: |
Fri, 10 Feb 2006 17:26:39 -0500 |
On 2/10/06, Christopher Hulbert <address@hidden> wrote:
> archive_cmds="\$CC -o \$lib \$libobjs \$compiler_flags \\\`echo
> \\\"\$deplibs\\\" | \$SED -e 's/ -lc\$//'\\\` -link -dll~linknames="
>
>
> What is the -link and -dll doing? This messes up my linking with the
> PGI C compiler as it can't find liblink.a.
>
> libtool 1.5.22
>
I should note that the option for PGI to create dll's is -Mmakedll.
My current workaround is to have autoconf run a shell script after
libtool is creatied and run sed -e 's/-link -dll/-Mmakedll/'. I THINK
the 6.2 release of the Win32 PGI compilers will support -shared, but I
should note that it does not appear that -shared would be put on the
command line anyways like it is with gcc.