Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Compiling Question
@ 1996-07-23 16:49 Brian
  0 siblings, 0 replies; 3+ messages in thread
From: Brian @ 1996-07-23 16:49 UTC (permalink / raw)


***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.

TIA!

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling Question
       [not found] <31F50297.7804@compassnet.com>
@ 1996-07-23 17:28 ` Brian E.W. Wood
  0 siblings, 0 replies; 3+ messages in thread
From: Brian E.W. Wood @ 1996-07-23 17:28 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling Question
@ 1996-07-24  8:45 David A Rusling
  0 siblings, 0 replies; 3+ messages in thread
From: David A Rusling @ 1996-07-24  8:45 UTC (permalink / raw)


This works out of the box on Red Hat...

Dave

-- 
----------------------------------------------------------------------
David A Rusling				Principal Engineer
European Semiconductor Applications	Digital Equipment Co Ltd.,
	Engineering			PO Box 121,
					Imperial Way,
					Worton Grange
					Reading RG2 0TU
Linux, Alpha, StrongArm, PCI		Tel: UK-(0)1734-204380
					Fax: UK-(0)1734-203133
----------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-07-24  8:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-24  8:45 Compiling Question David A Rusling
     [not found] <31F50297.7804@compassnet.com>
1996-07-23 17:28 ` Brian E.W. Wood
  -- strict thread matches above, loose matches on Subject: below --
1996-07-23 16:49 Brian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox