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

Re: Anybody working on removing sendmail from base?


From: Sander Vesik <sander@xxxxxxxxxxxxxxxxxxx>
Date: 28 Sep 2003 08:17:51 GMT
Cache-post-path: haldjas.folklore.ee!unknown@localhost

Mike Porter <mupi@xxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Saturday 27 September 2003 01:55 pm, Matthew Dillon wrote:
>>     Ick.  Maybe /etc/rc.d/cc could be responsible for setting up the
>>     'default' compiler for the system by creating a symlink or a VFS alias,
>>     but we are certainly not going to symlink a high performance program to
>> a shell script! :-)
>>
> 
> I see your point.  Clearly, you can't really replace gcc with a script, what I 
> was thinking of was something along the lines of a program that could scan 
> your environment, and determine from this which version (from all available 
> versions) of (g)cc to use for a particular job.  So your Makefile would 
> define KERNEL_BUILD, and some part of the system (maybe this ties with the 
> VFS stuff, more than a shell script) recognizes that for a kernel build, we 
> need gcc X, so cc works correctly.  

uhh.. this is still unspeakably gross. If needed, the kernel compiler can 
be differenciated calling it kcc, kgcc or whatever. But you definately want
the exeuctable that is named and called cc/gcc tobe the real thing and not
a warpper of any kind. 

> 
> mike
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (FreeBSD)
> 
> iD8DBQE/dpHWY30jZzkECLcRAv3aAKCxjx2A6vU1HPfi//WWPSU4GPaS6ACgwV5a
> 2r1c+cj986A78U9JXTau+3M=
> =3VGj
> -----END PGP SIGNATURE-----
> 
> 

-- 
	Sander

+++ Out of cheese error +++



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