From: Stephen Lewis <lewis@napanet.net>
To: axp-list@redhat.com
Subject: Re: Compaq C Compiler
Date: Sat, 09 Mar 2002 09:53:20 -0800 [thread overview]
Message-ID: <3C8A4C10.7B04A856@napanet.net> (raw)
In-Reply-To: 20020309170102.1A3BF3EF4F@listman.redhat.com
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 <gatgul@voicenet.com>
> 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
>
>
>
next parent reply other threads:[~2002-03-09 17:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020309170102.1A3BF3EF4F@listman.redhat.com>
2002-03-09 17:53 ` Stephen Lewis [this message]
2002-03-11 18:22 Compaq C Compiler William H. Magill
-- strict thread matches above, loose matches on Subject: below --
2002-03-08 22:30 Ted Goodridge
2002-03-08 23:56 ` David Woodhouse
2002-03-09 0:42 ` Ted Goodridge, Jr
2002-03-09 1:04 ` Uncle George
2002-03-09 1:07 ` W Bauske
2002-03-10 4:50 ` George France
2002-03-10 7:00 ` W Bauske
2002-03-11 18:33 ` George France
2002-03-11 21:42 ` W Bauske
2002-03-11 22:51 ` Peter Petrakis
2002-03-12 0:54 ` W Bauske
2002-03-13 4:30 ` Peter Petrakis
[not found] <20020308060803.4DB073F764@listman.redhat.com>
2002-03-08 19:01 ` Compaq C compiler Stephen Lewis
2002-03-07 19:42 Ted Goodridge, Jr
2002-03-07 19:53 ` Ross A Knepper
2002-03-07 21:56 ` Michal Jaegermann
2002-03-08 3:38 ` Ted Goodridge, Jr
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox