From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,5faf2e993a0461f5 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-06-05 10:40:12 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!rover.ucs.ualberta.ca!not-for-mail From: michal@gortel.phys.ualberta.ca Newsgroups: comp.os.linux.alpha Subject: Re: Kernel compile with ccc? Date: 5 Jun 2001 17:38:21 GMT Organization: Disorganized Bits Message-ID: <9fj5ed$6b4$1@pulp.srv.ualberta.ca> References: <9fe6rv$55i$1@feed.textport.net> <9fi4l4$3s9$1@crusher.de.colt.net> NNTP-Posting-Host: gortel.phys.ualberta.ca User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.19x (i686)) Xref: archiver1.google.com comp.os.linux.alpha:3016 Frank Pawlik wrote: > How can I compile a SRPM with CCC ? Redefine __cc macro in your own ~/.rpmmacros, put default optimization flags into ~/.rpmrc ("optflags: alpha ...." ; see various files in /usr/lib/rpm ) and 'rpm --rebuild ...'. Various spec file may add/override some options to be gcc specific. You will have to edit these. Obviously this will not work if a code itself is gcc specific (like Linux kernel). Michal