This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: rewrite lib/g77.exp


On Nov 25, 2001, Zack Weinberg <zack@codesourcery.com> wrote:

> If we cannot make -R do the right thing on some platform, then we refuse
> to support shared libraries on that platform.  It is not our problem
> if a system has a broken linker, any more than it is our problem if its
> libc lacks C99 features.

Just like we currently create a __main() function that takes care of
dynamic initializers if the platform doesn't support this directly,
GCC could create a wrapper executable that set the environment and
fired the actual program in the rare cases in which there's no way to
get the linker to encode the correct search paths in the executable.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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