crt* files

Jonathan Stuart jstuart at vmware.com
Tue Apr 14 11:34:06 PDT 2009


varsyms? Are these like conditional symlinks?
Reminds me of DYNIX (an old Unix), where the universe() system call would set the system to either a BSD or System V mode depending on whether it was called as universe(UCB) or universe(ATT), by use of conditional symlinks.  Cool stuff.

Jon Stuart
jcs at vmware.com
________________________________________
From: kernel-errors at crater.dragonflybsd.org [kernel-errors at crater.dragonflybsd.org] On Behalf Of Matthew Dillon [dillon at apollo.backplane.com]
Sent: Tuesday, April 14, 2009 9:21 AM
Subject: Re: crt* files

:
:I have to say that moving crt* files from /usr/lib to the /usr/lib/gccXX/
:turned out to be just bad idea. There are stuff in pkgsrc which need these
:files (most notably compilers, but also emacs for example) and I don't
:want to maintain hardcoded paths in all these packages. Really, I don't.
:
:--
:Hasso Tepper

   I don't think we have much choice.  If we are going to support multiple
   compilers the chances of a single set of crt* files actually working
   with all of them is diminishingly small.

   We could create varsyms in /usr/lib based on $CCVER which point to the
   correct crt* files.

                                        -Matt
                                        Matthew Dillon
                                        <dillon at backplane.com>





More information about the Kernel mailing list