Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
5 replies Latest Post - ‏2012-12-23T23:40:49Z by Yevo
universboy
universboy
3 Posts
ACCEPTED ANSWER

Pinned topic Compiler Too Slow in Windows 7

‏2011-11-17T07:13:38Z |
After I have installed the Rhapsody 7.5.3 to Windows 7,although the system is better than the computer which I was using the rahapsody in Windows XP,compiler becomes too slow.Compiling time and linking time takes too long as regarding to Windows XP.Is there a way to improve the compiler process?
Updated on 2012-12-23T23:40:49Z at 2012-12-23T23:40:49Z by Yevo
  • shanz9903
    shanz9903
    268 Posts
    ACCEPTED ANSWER

    Re: Compiler Too Slow in Windows 7

    ‏2011-11-17T10:03:52Z  in response to universboy
    Are you using the same compiler/environment?
    msvc9 (VS2008) is slower than microsoft (VS2006).
    I managed to speed it up a bit by using the /MP compiler switch to benefit from my multicore processor.
    See http://www.rhapsody4you.org/post2056.html?hilit=build%20time#p2056

    Someone else apparently saw improved build times by changing a property BuildErrorHandling from model to code.
    See https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14487689&#14487689
    • universboy
      universboy
      3 Posts
      ACCEPTED ANSWER

      Re: Compiler Too Slow in Windows 7

      ‏2011-11-17T15:10:05Z  in response to shanz9903
      Hi,
      I am still using the same compiler VxWorks6gnu_RTP.
  • MartinHansson
    MartinHansson
    57 Posts
    ACCEPTED ANSWER

    Re: Compiler Too Slow in Windows 7

    ‏2011-11-17T16:05:54Z  in response to universboy
    Have you made sure it is actually the compile time?
    We have worst case scenarios where we compile all the files in like 30 seconds and then Rhapsody keeps spitting out the results for another 10 minutes (no thats not an exhageration). We have made an RFE asking them to speed up the parsing.
    • universboy
      universboy
      3 Posts
      ACCEPTED ANSWER

      Re: Compiler Too Slow in Windows 7

      ‏2011-12-05T15:35:53Z  in response to MartinHansson
      It is really the compile time.I could not still find a solution to increase the compile time with Windows 7.
      • Yevo
        Yevo
        278 Posts
        ACCEPTED ANSWER

        Re: Compiler Too Slow in Windows 7

        ‏2012-12-23T23:40:49Z  in response to universboy
        Try to add -j flag in the make command (see Share\etc\vx6make.bat file) or find appropriate option in Workbench project (if you use worflow or platform integration Rhapsody plugins).

        -j [N], --jobs=N - allow N jobs at once; infinite jobs with no arg.