This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Binaries compiled with gcc-2.95.2 won't execute.


> This is a "feature" of solaris/sparc. Compilation and portability do
> not commute. You should compile on the oldest architecture you have
> if you want the result to run on every host. Not all solaris/sparc
> chips are architecturally compatible. The same applies with any program,
> but you can't always tell which programs are going to fail. It has to
> do with library calls, and changes in OS etc etc...

But why does it say "exec format error" then? I'd expect a bus error,
for illegal instructions, but not that...

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]