[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave-1.0 on IRIX 5.2?

From: L Jonas Olsson
Subject: Re: Octave-1.0 on IRIX 5.2?
Date: Thu, 28 Apr 1994 13:58:43 -0400

I found sometihing about on the FlexFAX list. I'm in the process of
testing it out today.


>From: Sam Leffler <address@hidden>
>Date: Wed Apr 27 12:20:11 PDT 1994
?Subject: building FlexFAX v2.2.2 under IRIX 5.2 with gcc 2.5.8

To build v2.2.2 under IRIX 5.2 (or similar) with gcc 2.5.8 beware
of two known problems in the gcc distribution.

1. The configure script does not specify that "collect" must be used
   for C++ programs.  Without collect global constructors will not be
   executed leaving many global variables in the fax server program
   (and other programs) uninitialized.  To correct this problem patch
   the configure script before building gcc:

       *** configure       Fri Nov 19 13:44:34 1993
       ---   Wed Apr 27 11:35:27 1994
       *************** for machine in $canon_build $canon_host
       *** 1050,1055 ****
       --- 1050,1057 ----
               # mips-tfile doesn't work yet
   +           # See comment in mips/iris5.h file.
   +           use_collect2=yes
       mips-sgi-irix4loser*)           # Mostly like a MIPS.
               if [ x$stabs = xyes ]; then

2. Build gcc using the following cookbook:

    make LANGUAGES=c
    make stage1
    make CC="stage1/xgcc -Bstage1/" CFLAGS="-O2 -save-temps"
    make stage2
    make CC="stage2/xgcc -Bstage2/" CFLAGS="-O2 -save-temps"
    make compare
    make CC="stage2/xgcc -Bstage2/" CFLAGS="-O2 -save-temps" install

   (or similar.)  The extra "-save-temps" is necessary to get a
   correctly functioning compiler.  The option is NOT needed when
   invoking gcc; only when building it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]