[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fastest C++ Compiler?
I don't know which one creates the best code. What I know for sure is that
VC++5.0 and BC++B3.0 has more of the C++ standard then GCC 2.7. What Watcom
have today I don't know. But I've heard that Watcom did produce good code
before. The problem combining compilers is that they have diffrent
libraries. Not only diffrent format but diffrent naming and other things
too. So it may be very difficult to combine compiled code from diffrent
compilers. You could compile the code into a DLL. That way it sould be no
problem using it in VC++4.0. But if it is small functions it may result in
a speed loss. I know there is a project with a GCC compiler producing
native Win32 code that should be able to produce a DLL. I have some links
to diffrent compilers on my WWW site (http://www.uniweb.se/~jens/). But
that does not help you on which is best and which work easy together. Maybe
somebody else here knows or know of some maillist or something talking
about this. If you're not in a very big need of a small increes of speed I
would use only VC++4.0 for eas of use. But if there is only optimization
left in your program maybe you should look for a better compiler.
Jens Yllman
At 15:56 1998-05-15 +0200, you wrote:
>Which compiler makes the fastest code? This thread came up a year or so ago,
>with people saying either gcc or Watcom if I remember correctly.
>
>I'm using Visual C++ 4.0, and wondered how easy it would be to recompile
>just certain files (ie. those that do search and analysis) in gcc, but leave
>all the interface-related code (which uses MFC) with visual c++.
>
>Is it possible to link gcc object files using visual C++? I'm thinking I'll
>do the development and debugging in visual C++, and then once I've got an
>algorithm finished I'll recompile it with gcc.
>
>Does anyone have any advice, or experience doing this?
>
>Darren
------------------------------------------------------------
Jens Yllman http://www.uniweb.se/~jens