[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Programming on an Alpha (Redhat of course...)
- From: Michal Jaegermann <michal ellpspace math ualberta ca>
- To: axp-list redhat com
- Cc: jps nodezero com
- Subject: Re: Programming on an Alpha (Redhat of course...)
- Date: Sat, 2 May 1998 21:37:21 -0600 (MDT)
>
> I have noticed as I try to compile programs on my Alpha that they
> regularly get errors but on my Intel box they don't.
Most likely these get errors because they have bugs. Faulty assumptions
that int can hold a pointer, for example, are masked on Intel due
to relative sizes of these types on Intel but they bite on Alpha.
As C defaults undeclared (or arguments to functions without prototypes)
this sometimes may be hard to spot. Misaligned stack due to
carelessnes with types is also not unheard of.
> Could someone point me
> toward some resources about programming on the Alpha.
K&R, second edition, is recommended - and pay attention to what authors
have to say. Using -Wall with gcc, and even stricter available checks,
also helps a lot.
--mj
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]