#150 Intel C++ 9.0 build fix

open
None
5
2012-09-07
2006-01-31
No

DOSbox builds well with Intel C++ 9.0 for Linux, and is
noticably faster than with GCC 4.0, especially in the
dynamic core, and especially after profile guided
optimization. (-prof-genx, -prof-use)

However there is a small hiccup that's due to the fact
that Intel C++ 9.0 was designed as a drop-in for GCC
3.4, not GCC 4.0. A compiler builtin is missing. DOSbox
doesn't use this builtin at all, but its absence causes
an error when you #include <cmath>.

This patch fixes that problem.

Discussion

  • Linards Ticmanis

    Intel C++ 9.0 for Linux / gcc 4.0 build fix

     
  • Peter Veenstra

    Peter Veenstra - 2006-02-02

    Logged In: YES
    user_id=535630

    thank you for the patch.

    However I don't think that this belongs in DOSBox.
    It's a problem of the intel C++ compiler.

    I'll leave it open for a while incase somebody runs into
    this problem as well, however I will not add it to the CVS.

     
  • Linards Ticmanis

    Logged In: YES
    user_id=843060

    I agree that this is purely a workaround. I assume the next
    release of intel C++ will fix this known problem. Thus I
    agree it doesn't belong into the CVS.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks