From: Brian E.W. Wood <beww@intac.com>
Subject: Re: Compiling Question
Date: Tue, 23 Jul 1996 13:28:55 -0400 (EDT) [thread overview]
Message-ID: <1540673fe224db6d2082c67cf573325c.axp-list@archive.invalid> (raw)
In-Reply-To: <31F50297.7804@compassnet.com>
On Tue, 23 Jul 1996, Brian wrote:
> ***Warning--New guy to this list and even Alphas ;-)
>
> I've recently gotten the UDB alpha up with Craftworks Linux. I've tried
> to compile several packages which I'm using on my intel box. Samba is
> the highest on my list right now since I'm supposed to doing a
> demonstration this weekend.
> Is there any particular -D flags that should be added. I know when I'm
> compiling on the PPC platform with the powermac I use the -D__powerpc__
> flag which helps alot. I also notice a lot of error messages about
> integers being wrong and pointers.
>
You can save yourself a lot of time re-compiling packages by getting
the RedHat axp release. I am running Craftworks myself but I added
RPM to it and can now install RedHat's packages quite easily (samba
is one of these, there is an axp RPM package).
As good as Craftworks is, RedHat has a more complete library of
applications already compiled for the alpha, and their axp release is
well worth the nominal cost.
The errors you mention are due to the fact that on the intel platform
both integers and pointers are 32 bit, while on the Alpha an integer
is 32 bit and a pointer is 64 bit. Some of these may in fact be
warnings and not actual errors, and the programs may in fact run OK.
Others are real trouble. I ran into a problem with an initialized union
in mgetty which prevented compilation until David Mossberger-Tang came
up with a solution which relied on some extensions to gcc (Thanks again
David).
I got the book "Porting Unix Software" (O'Reilly & Assoc) and have
found it very useful in finding problems re-compiling programs for
the alpha platform.
Anyway, just my $0.02 from a "barely out of the newbie stage" user.
Brian E.W. Wood
beww@intac.com
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next parent reply other threads:[~1996-07-23 17:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <31F50297.7804@compassnet.com>
1996-07-23 17:28 ` Brian E.W. Wood [this message]
1996-07-24 8:45 Compiling Question David A Rusling
-- strict thread matches above, loose matches on Subject: below --
1996-07-23 16:49 Brian
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