Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

SGI apps Frequently Asked Questions (FAQ)
Section - -41- How can I convert IRIX 4.0.x executables to IRIX 5.x?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Counties ]


Top Document: SGI apps Frequently Asked Questions (FAQ)
Previous Document: -40- How can I generate IRIX 4.0.x-compatible executables under IRIX 5.x?
Next Document: -42- Why are some non-shared libraries missing in IRIX 5.x?
See reader questions & answers on this topic! - Help others by sharing your knowledge

  Sez Jay McCauley <mccauley@sgi.com>:  IRIX does not and cannot have a
  coff2elf (actually, it's 'cof2elf') converter.  The COFF (actually,
  ECOFF) to ELF transition was also the transition to the use of
  Expanded Fundamental Types (EFT), an SVR4-ism.  EFT enlarges a number
  of basic data types, finally casting off the last vestiges of the
  PDP-11.  So, structures built in an EFT world would have their
  members at different offsets than they would in a pre-EFT (e.g. IRIX
  4.x) world. The operating system uses the fact that an executable is
  in ELF to trigger the use of EFT-based strucures for input and
  output.  So, even if you had a program like coff2elf, the resulting
  transformed executable would not operate correctly for almost any
  interesting case.  Trivial programs that don't have any system calls
  which pass in structures or get structures back from the OS could
  theoretically work, but these fall into the "uninteresting" class.

  Note that the cof2elf(1) program referred to by the elf(1) manpage in
  IRIX 5.2 does not exist. The elf(1) manpage is wrong.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: SGI apps Frequently Asked Questions (FAQ)
Previous Document: -40- How can I generate IRIX 4.0.x-compatible executables under IRIX 5.x?
Next Document: -42- Why are some non-shared libraries missing in IRIX 5.x?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
sgi-faq@viz.tamu.edu (The SGI FAQ group)





Last Update March 27 2014 @ 02:12 PM