This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Bus Error
- From: bjorn rohde jensen <shamus at tdcadsl dot dk>
- To: David Dudley <david dot dudley at starblade dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 21 Jun 2002 22:03:36 +0200
- Subject: Re: Bus Error
- References: <200206220351.07259.david.dudley@starblade.com>
- Reply-to: shamus at tdcadsl dot dk
Hi David,
I usually manage to get bus errors due to misalignment of
pointers, such as trying to read a double from an address
not properly aligned to hold a double. Your basic "hello world"
program certainly should not give you bus errors.
Yours sincerely,
Bjorn