[techtalk] gcc versions and bus error

moebius at ip-solutions.net moebius at ip-solutions.net
Tue Feb 29 00:46:29 EST 2000


Hey Becky,
  I'm not sure if I'm understanding you correctly. Are you trying to run
programs that on a Sparc that you've compiled on an Intel. If so then yes
they are 2 different architectures and you would need to move just the
code file to the Sparc and then compile.  

Harry Hoffman
Product Systems Specialist
Restaurants Unlimited Inc.
206.634.3082 x. 270

On Tue, 29 Feb 2000, Becky L. Norum wrote:

> 
> I've been developing my C programs at home using RH6.0
> We are required to submit them on Sparc workstations at school.
> A program I've been writing compiles and executes correctly at home; when
> I try to execute it at school I get a bus error.
> 
> My question is: What exactly is a bus error (I thought it was like a seg
> fault - trying to reference a NULL location...) AND why would I be getting
> it on one machine and not another?
> 
> Does it have anything to do with the version of gcc?
> 
> At home, gcc is:
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> 
> At school:
> gcc version 2.8.1
> 
> Any thoughts/suggestions/references would be highly appreciated.
> I realise this isn't purely Linux.. but is somewhat related.  :)
> 
> Thanks!
> 
> Becky
> bnorum at coe.neu.edu
> 
> 
> 
> ************
> techtalk at linuxchix.org   http://www.linuxchix.org
> 


************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list