This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -frepo and shared libraries....


Hi David,

The code has to be compiled using -frepo in order to get all the objects built right (failing that it does dumb things like building two copies of the constructor for certain static objects and calling them both).

How do I tell the linker and/or libtool "go ahead and run the 'collect2' pass as though this were the final link"?

Perhaps an example of what you are doing would help here. In particular when you do try to run g++ to create the final executable, what does happen ?


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]