IBM Support

PI17369: Rhapsody framework uses no longer-existent Cygwin/gcc distribution

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Current Cygwin releases no longer contain 'gcc4', but 'gcc', so
    manual changes to framework files are required. These manual
    steps should not be necessary. This effects both C and C++ GNU
    compilers
    
    SYMPTOM
    
    Building ------------  DefaultComponent.exe   ------------
    Executing: ''C:\Rhapsody8.0.6\Share'\etc\cygwinmake.bat
    DefaultComponent.mak build '
    Setting environment for Cygwin
    'make.exe'
    Compiling Test.cpp
    /bin/sh: g++-4: command not found
    DefaultComponent.mak:111: recipe for target 'Test.o' failed
    make: *** [Test.o] Error 127
    
    Build Done
    
    STEPS TO REPRODUCE
    
    1. Download latest release of Cygwin incl. gcc/g++ from devel
    pack
    2. Create simple test project.
    3. Try to build project or rebuild framework
    
    ENVIRONMENT
    
    Windows 7 and other supported Rhapsody and Cygwin platforms
    
    BUSINESS IMPACT
    
    Cygwin/gcc no longer works 'out of the box'
    
    SOLUTION
    
    Both the CompileCommand + LinkCommand properties have to be
    modified from 'gcc-4' to 'gcc' and CygwinMake.bat line
    containing OM_GCC_VER='-4' has to be modified to OM_GCC_VER=''
    to be able to start the compilation.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Rhapsody framework uses "gcc-4" even though it no longer
    exists in the Cygwin/gcc distribution. As a result, manual
    changes must be made to the properties CompileCommand and
    LinkCommand, and to the CygwinMake.bat file.
    

Problem conclusion

  • Fixed in version 8.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI17369

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    806

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-06

  • Closed date

    2014-06-02

  • Last modified date

    2014-06-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R806 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.0.6

Reference #: PI17369

Modified date: 02 June 2014