From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 917FD3EA4D for ; Sat, 9 Mar 2002 12:48:46 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g29Hmk516365 for ; Sat, 9 Mar 2002 12:48:46 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g29Hmjd28499 for axp-list@listman.redhat.com; Sat, 9 Mar 2002 12:48:45 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g29HmjR28495 for ; Sat, 9 Mar 2002 12:48:45 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g29Hmj516361 for ; Sat, 9 Mar 2002 12:48:45 -0500 Received: from manzanita.silverado (dialup-napanet-206-81-103-160.napanet.net [206.81.103.160]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g29HlSb00489 for ; Sat, 9 Mar 2002 12:47:28 -0500 Received: from napanet.net (localhost [127.0.0.1]) by manzanita.silverado (8.9.3/8.9.3) with ESMTP id JAA05593 for ; Sat, 9 Mar 2002 09:53:25 -0800 Message-ID: <3C8A4C10.7B04A856@napanet.net> Date: Sat, 09 Mar 2002 09:53:20 -0800 From: Stephen Lewis X-Mailer: Mozilla 4.6 [en] (X11; U; Linux 2.2.6-16apmac ppc) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C Compiler References: <20020309170102.1A3BF3EF4F@listman.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Ted, I concur with George, this is no small project. The X4.2 sources took me 3.6 hours to compile when everything was setup correctly. (PWS 500au) The log file (and you will need to look through this) is over 54,000 lines. The directory holding source AND .o files will expand beyond 680 megs! I only compiled the code for the cards I have and this does not include the fonts. Some of this may go well but expect to spend a lot of time on the modules that don't compile. 'make' won't use environment vars unless you ask it to (make -e) and will stop at the first error unless you tell it not to (make -k) Try something smaller first then when you understand the issues and the process then come back to X, Stephen Lewis > > Re: Compaq C Compiler > Date: > Fri, 08 Mar 2002 20:04:43 -0500 > From: > Uncle George > Reply-To: > axp-list@redhat.com > Organization: > GatWorks.com > To: > axp-list@redhat.com > References: > 1 > > > > I, myself would: > > 1) Take the src RPM from redhat, install the source, and rpm -bc on > the > .spec file in redhat/SPEC > 2) Once you know that you have the X/spec/rpm file working ( i > think you > will need some 500meg for it all ), you can edit the spec file. Your > would in essence add in the makefile build flags "CC=ccc CFLAGS=-O2 -- > and whatever other ccc flags ) in the build section . Hopefully that > will build all the makefiles ( via ./configure ) with ccc as the c > compiler, and your CFLAGS as your options. > 3) do again the rpm -bc for the altered spec file. > 4) Somewhere along the way, there is going to be some 'link'ing, > which > may not be what ccc needs to get it going. So I suspect its going to > bomb. > 5) repeat steps 3,4,5 as often as necessary to make it go > the way you > want. You might also want to look at the src's for a Digital Unix port > -- maybe the flags, and linkages will be of help there. > > goo luck, its going to be time consuming, so see ya in april :-} > /gat > > > "Ted Goodridge, Jr" wrote: > > > > I'm sorry about my outburst, it came after a long frustrating day. > > About the RTFM, see the point is, I usually already have read the > manual > > before I ask for help. That's why hearing 'read the manual' on these > > lists was touched off a nerve. > > > > This evening/tomorrow/weekend I'm going to make another attempt to > > compile X with ccc. Someone suggested I edit the top level makefile? > > Changing the environment variable "CC" to ccc didn't affect the build > > process, which is the normal step the Compaq faq suggests. > > > > The first way I attempted to build X with ccc was to just create a > > symbolic link called gcc and point that to ccc. (This was the only > way > > I could get other programs to compile which would not accept ccc as > the > > compiler.) The build failed rather early. I'll get the exact error > to > > those who are interested. (Please email me directly if you are > willing > > to help with this, that was the original attempt of my first email on > > this subject.) > > > > Ted > > -----Original Message----- > > From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com] On > > Behalf Of David Woodhouse > > Sent: Friday, March 08, 2002 5:57 PM > > To: axp-list@redhat.com > > Subject: Re: Compaq C Compiler > > > > tedgoodridgejr@acm.org said: > > > Again this is my frustration with the linux community. As for help, > > > get RTFM, RTFM, RTFM. I was asking for people with _real_ > experiences > > > with CC, and actual assistance. > > > > Who do you think _wrote_ the aforementioned F. Manual? Someone with > > real experience perhaps? And what do you think they wrote it for? > > > > > Have *YOU* actually tried to compile it with CCC? How do you know > > > how portable something is without trying it. > > > > I tried it. It exceeded my boredom threshold - to be honest, X code > > makes > > me queasy and I couldn't be bothered to find and read the Compaq > manuals > > to work out what their compiler was whinging about. > > > > > GCC coming out ahead? Compaq states that CCC gets up to a 30% bonus > > > for non floating point programs. 30% is well worth the effort. > > > Again, actual help with my question might be more appreciated than > > > telling me my attempts are misguided. > > > > Your attempt isn't misguided. Compiling X with CCC would be > interesting. > > But > > you do need to give reports that people can at least _attempt_ to help > > you > > with - don't just report 'it didn't work'. Quote the command line it > > used > > and the _precise_ error(s). > > > > -- > > dwmw2 > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > >