From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,88898ece838963b6 X-Google-Attributes: gid111c93,public From: h0l0gRaM Subject: Re: compiling with ccc/cxx Date: 2000/05/24 Message-ID: <392C0580.6987CEFB@saunalahti.fi>#1/1 X-Deja-AN: 626788087 Content-Transfer-Encoding: 7bit References: <392B3A2C.8B0CB68@hotmail.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@saunalahti.fi X-Trace: tron.sci.fi 959186712 27328 195.197.81.195 (24 May 2000 16:45:12 GMT) Organization: SAUNALAHDEN asiakas Mime-Version: 1.0 NNTP-Posting-Date: 24 May 2000 16:45:12 GMT Newsgroups: comp.os.linux.alpha "William A. Welch III" wrote: > Hey everybody, > > I'm sure that I'm like everyone else when I find myself constantly > downloading both new (e.g. Mozilla) and older (e.g. Quake) programs to > play with. Of course everything comes with the ubiquitous "configure" > script to set up everything for you. > > So my question is: How do I modify the included files so that my > programs compile with ccc/cxx? And additionally, how do I modify these > files to use my optimization flags. > > Thanks ahead of time, > > Bill Welch For fast code (optimization) CC="ccc -O4 -fast" CXX="cxx -O4 -fast -std gnu" ./configure some programs want -g added ,use -g3 instead of -g on ccc/cxx you can put these on environment like this (export/setenv) CFLAGS="-O4 -fast" CXXFLAGS="-O4 -fast -std gnu" CC=ccc CXX=cxx -- Bahdges? We don't need no stinkin' bahdges! -- "The Treasure of Sierra Madre"