bug-libtool
[Top][All Lists]
Advanced

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

-nostartfiles is not passed on to the linker


From: Marc Seutter
Subject: -nostartfiles is not passed on to the linker
Date: Wed, 11 Aug 2004 16:12:39 +0200 (MEST)

Dear Libtool-maintainers,

As I found out after various experimenting, the option -nostartfiles
is not passed on to the linker by libtool. I use this option to build
dynamic objects with a _init and _fini function to do some module
initialization and finalization upon loading and unloading the module
with dlopen and dlclose. I fixed my problem by adding the following
check to the linker argument checking in the generated libtool
(The version of libtoolize was the most recent: 1.5.8)

      -nostartfiles)
        linker_flags="$linker_flags -nostartfiles"
        continue
        ;;

                                        Best regards, Marc Seutter

                                        (address@hidden)





reply via email to

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