DragonFly kernel List (threaded) for 2009-04
DragonFly BSD
DragonFly kernel List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

RE: crt* files


From: Jonathan Stuart <jstuart@xxxxxxxxxx>
Date: Tue, 14 Apr 2009 11:24:12 -0700

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@vmware.com
________________________________________
From: kernel-errors@crater.dragonflybsd.org [kernel-errors@crater.dragonflybsd.org] On Behalf Of Matthew Dillon [dillon@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@backplane.com>



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