On Sun, Sep 23, 2012 at 10:25:25AM +0100, Tom Hughes wrote: > On 23/09/12 10:20, Richard W.M. Jones wrote: > > >$ grep /usr/lib/gcc /usr/bin/libtool > >sys_lib_search_path_spec="/usr/lib/gcc/x86_64-redhat-linux/4.7.1 /usr/lib64 /lib64 " > >compiler_lib_search_dirs="/usr/lib/gcc/x86_64-redhat-linux/4.7.1 /usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64 /lib/../lib64 /usr/lib/../lib64 /usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../.." > >predep_objects="/usr/lib/gcc/x86_64-redhat-linux/4.7.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.7.1/crtbeginS.o" > >[etc] > > > >But it looks like it'd be possible to replace 4.7.1 with the partial > >output of `gcc --version`. > > Using "gcc -dumpversion" will make it even easier ;-) Yup! No surprises that the build system of libtool is as crazy as the program itself. I can't even find how the 'libtool' script is created ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel