libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patches for libtool support on NAG Fortran compiler for Darwin OS


From: Jürgen Reuter
Subject: Re: Patches for libtool support on NAG Fortran compiler for Darwin OS
Date: Fri, 25 Mar 2011 09:57:40 +0100

Hi Peter,
Sry, no, does not work. 
Error is:
Making all in src
/bin/sh ../libtool --tag=F77   --mode=link nagfor  -g   -o libcirce1.la -rpath 
/Users/reuter/Physik/progs/whizard/nag_trunk/dist/lib/circe1 circe1.lo  
libtool: link: nagfor -Wl,-dynamiclib -Wl,-undefined
-Wl,dynamic_lookup -o .libs/libcirce1.0.dylib  .libs/circe1.o       
-Wl,-install_name, 
/Users/reuter/Physik/progs/whizard/nag_trunk/dist/lib/circe1/libcirce1.0.dylib 
-compatibility_version 1 -current_version 1.0
NAG Fortran Compiler Release 5.2(747)
Warning: No files specified
../libtool: line 8959: -Wl,dynamic_lookup: command not found
make[3]: *** [libcirce1.la] Error 127
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

So, somehow you are not passing the correct info to the compiler. 
As I said the info I passed to you before does the job!
I attached the libtool.m4 diff to the official release (2.4) which does the job.

Attachment: libtool.m4.diff
Description: Binary data

plus the change for the wlversion or so in the 
Would be really great to get a working version into the libtool git repository.
Could not be soooo difficult.
Cheers,
        Juergen


On 5 Mar 2011, at 17:24, Peter O'Gorman wrote:

> Hi Jürgen,
> 
> Does the attached patch work for you? I think it -Wl, quotes everything 
> necessary. Note that I hardcode -Wl, rather than ${wl} because some of the 
> options are supposed to be gcc options rather than ld ones (though ld 
> recently accepts them too, so it's not a big deal either way).
> 
> Ralf suggested using $CC -v to identify compilers, rather than $cc_basename, 
> and this makes sense to me, what does nagfor -V say?
> 
> Thanks,
> Peter
> <nagfor1.patch>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]