[Top][All Lists]

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

[Help-glpk] SCO UnixWare 7.1 system compiler build issues

From: Robbie Morrison
Subject: [Help-glpk] SCO UnixWare 7.1 system compiler build issues
Date: Wed, 29 Jun 2005 06:55:47 +1200 (NZST)
User-agent: SquirrelMail/1.4.2

Hello <help-glpk>

This posting will be of most interest to those developing on
System V UNIX platforms, including SCO UnixWare and Sun

I have just successfully built GLPK under SCO UnixWare 7.1
using the system C compiler.  But I uncovered some issues
that I would like to check with readers of this mailing list.

The entire screen capture plus some additional information
relating to this posting and a small shell script (named
unixware) can be downloaded from:

It is necessary to use the UnixWare system compiler for my
work.  But the GNU GCC compiler collection and some GNU
development utilities are also present.  However, autoconf,
automake, and such are not installed.

Please note that my comments do +not+ apply to the use of
gcc on SCO UnixWare 7.  GLPK compiled under gcc on this
operating system without problem.

Here are some details of my platform:

    Operating system  : SCO UnixWare 7.1.1b
    Heritage          : System V release 5 (SVR5)
    Processor         : Intel 32-bit Pentium III 1000 MHz
    RAM               : 512 MB
    System C compiler : Optimizing C Compilation System (CCS)
    cc reports        : 4.0 10/23/00 (UDK FS 7.1.1b)
    gcc reports       : 2.95.2
    gmake reports     : 3.78.1

The system C compiler dates from late-2000 and the operating
system is circa 1999.

First, the system C compiler is +not+ the default
configuration choice (as stated in the glpk INSTALL file).
Rather, this information needs to be specifically passed to
the configuration utility (otherwise gcc is selected):

    $ CC=cc ./configure

Second, the system make failed badly.  The work-around is to
switch to GNU make as follows (so I am not worried about
this issue):

    $ gmake

Third, and most significant, the following compiler command
line option is +not+ supported by the system C compiler:

    -Wp,-MD,.deps/glpavl.pp  (etc)

Actually, the '-Wp,...' part is supported, but the '-MD,...'
part is not.  In the end, I simply edited the following


to remove the string "-Wp,-MD,.deps/$(*F).pp" in two places
in each file (the aforementioned glpk-unixware711b.txt
contains a shell script to do this).  I then reissued the
make command:

    $ gmake  [2> /dev/null]

This gives some make errors related to the failure to find
*.pp files, but these are not fatal.  The build was
successful, as evidenced by:

    $ gmake check

Therefore, I would like to know:

    * are there side-effects from simply removing
      "-Wp,-MD,.deps/$(*F).pp" ?

    * is there a direct way of omitting
      "-Wp,-MD,.deps/$(*F).pp" during the configuration
      phase (or is subsequent editing the only way) ?

I am happy to undertake some more trouble-shooting and/or
develop a patch, if this would help.

I realize that SCO UnixWare is not the most popular
operating system, but it does bundle a legacy C++ system
library not found elsewhere.

Finally, many thanks to those contributing to the GLPK
project.  From my perspective, it is great to have good
GPL'ed libraries available for open source application

Robbie Morrison
PhD student – policy-oriented energy system simulation
Institute for Energy Engineering
Technical University of Berlin, Germany

Robbie Morrison
Normal email (haphazard) :  address@hidden
Webmail (better at the moment) :  address@hidden
[from Webmail client]

reply via email to

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