Technical article 125670

gcc 2.95.3, from gnutools-5.0.7Kj, fails to compile anything on OpenServer 5.06.

OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

gcc 2.95.3 fails to compile any program on OpenServer 5.0.6. Any compilation attempt using this new gcc, stored in /usr/gnu/bin, fails with the following:

# gcc myprog.c
/bin/ld: ERROR: Illegal option -- E

No object files or executables get created.

Cause

The gcc 2.95.3 linker relies on the updated execution environment supplement (OSS646B or later), and updated Graphics, Web and X11 Libraries as described in the readme.

Solution

Install the latest version of oss646 and the latest version of gwxlibs to address this problem.

From the Xinuos technical article database, record 125670. Reproduced with permission. The original is at www.sco.com/ta/125670, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.