DragonFly kernel List (threaded) for 2009-04
RE: crt* files
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.
From: email@example.com [firstname.lastname@example.org] On Behalf Of Matthew Dillon [email@example.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.
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.