Topic
  • 5 replies
  • Latest Post - ‏2012-12-23T23:40:49Z by Yevo
universboy
universboy
3 Posts

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
    283 Posts

    Re: Compiler Too Slow in Windows 7

    ‏2011-11-17T10:03:52Z  
    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

    Re: Compiler Too Slow in Windows 7

    ‏2011-11-17T15:10:05Z  
    • shanz9903
    • ‏2011-11-17T10:03:52Z
    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
    Hi,
    I am still using the same compiler VxWorks6gnu_RTP.
  • MartinHansson
    MartinHansson
    59 Posts

    Re: Compiler Too Slow in Windows 7

    ‏2011-11-17T16:05:54Z  
    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

    Re: Compiler Too Slow in Windows 7

    ‏2011-12-05T15:35:53Z  
    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.
    It is really the compile time.I could not still find a solution to increase the compile time with Windows 7.
  • Yevo
    Yevo
    280 Posts

    Re: Compiler Too Slow in Windows 7

    ‏2012-12-23T23:40:49Z  
    It is really the compile time.I could not still find a solution to increase the compile time with Windows 7.
    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.