From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,979b5e13486b49ef X-Google-Attributes: gid111c93,public From: h0l0gRaM Subject: Re: kernel compiling Date: 2000/05/18 Message-ID: <39243D65.3478989B@saunalahti.fi>#1/1 X-Deja-AN: 625098634 Content-Transfer-Encoding: 7bit References: <392410D9.AE103BA1@kc.rr.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@saunalahti.fi X-Trace: tron.sci.fi 958676390 25666 195.197.81.70 (18 May 2000 18:59:50 GMT) Organization: SAUNALAHDEN asiakas Mime-Version: 1.0 NNTP-Posting-Date: 18 May 2000 18:59:50 GMT Newsgroups: comp.os.linux.alpha Tony Hammitt wrote: > You may be able to compile some of the kernel source files > with ccc but there are lots of files that have gcc specific > assembler instructions, etc. > > It would be a lot of effort compiling all of the possible > files with ccc, then the rest with gcc, and what you would > end up with may even boot. But I wouldn't guarantee it. > But note ,if you compile two files ,first with gcc and second with ccc , they cannot be linked to one (executable) file. That's mentioned in ccc's readme files and in compaq's web site. > > More to the point, the kernel isn't really the best thing > to try massive optimizations with anyway. Unless your > system is extremely heavily loaded, the kernel doesn't > really take up all that much processor time. That and if > it's a really time critical piece of code, the chances are > that it's already in hand-optimized assembler. > I say that kernel doesn't need so much optimization than programs to be in use. > > I think getting the libc stuff and XFree4.0 compiled using > ccc would be more likely to show benefits and would probably > be lots easier. > Yes ,and using Compaq's math library instead of libm.so CPML/CXML or even FFM would be better (faster) But ,cxx and ccc doesn't compile every source ,there's lots of those sources which are written only for compiling with gcc. I have few sources what compiled succesfully. These what I have tried ,haven't looked up what's the problem. Downloader for X 1.16 ,doesn't compile NMAP 2.50 ,compiles Sniffit 0.7 (or something) ,compiles Quakeforge 0.1.1 ,compiles Sarien 0.2.5 ,doesn't compile all compiled with "-04 -fast" options I don't have so much interest for trying to compile XFree4.0 Got sources ,compiles with gcc ,but doesn't work in XL300 with Matrox mill.1