[techtalk] gcc versions and bus error
Nicole Zimmerman
colby at wsu.edu
Tue Feb 29 00:02:52 EST 2000
I think it may be both... when I would write programs at home on my
linux RH6.0 box and then put them on the eecs hp-ux boxes, I'd get
compile errors. If I put the binaries on the hp-ux boxes from my RH box,
I'd get segfaults and things like bus errors.
You might have to modify the code, I was caught in a couple of instances
where I did. The header/includes may be different across different
versions of gcc and different OS's (OS'? OSes?), I don't know enough
about specifics to pinpoint it. I know I never turned in a program
without testing it on the hp-ux first (now they're switched to redhat,
though, so I would have had it made had I taken the course a year
later).
-nicole
moebius at ip-solutions.net wrote:
>
> 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.
--
http://colby.dhs.org @ Colby - me!
http://ghettobox.dhs.org \|/ ghettoBOX - home!
Entropy just isn't what it used to be.
/ \
************
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk
mailing list