Choosing a compiler
Choosing a compiler
Hello
I am currently using Mingw but the linker is too slow, so I am looking at OpenWatcom and DigitalMars.
OpenWatcom:
On the one hand, http://biolpc22.york.ac.uk/wx/wxhatch/w ... hoice.html says that speed of execution is too slow: 11922 against 2266 (the fastest one). However, on the other hand, OpenWatcom's FAQ says "The Watcom compiler has always been known as producing some of the fastest code around". Which one is right??
DigitalMars:
Compiles very fast, but libraries compiled in the COFF format doesn't work, and does not include a debugger.
Any recommendation?
Thanks.
I am currently using Mingw but the linker is too slow, so I am looking at OpenWatcom and DigitalMars.
OpenWatcom:
On the one hand, http://biolpc22.york.ac.uk/wx/wxhatch/w ... hoice.html says that speed of execution is too slow: 11922 against 2266 (the fastest one). However, on the other hand, OpenWatcom's FAQ says "The Watcom compiler has always been known as producing some of the fastest code around". Which one is right??
DigitalMars:
Compiles very fast, but libraries compiled in the COFF format doesn't work, and does not include a debugger.
Any recommendation?
Thanks.
- Ryan Norton
- wxWorld Domination!
- Posts: 1319
- Joined: Mon Aug 30, 2004 6:01 pm
Re: Choosing a compiler
http://lab.msdn.microsoft.com/express/v ... fault.aspxasp wrote: Any recommendation?
[Mostly retired moderator, still check in to clean up some stuff]
Re: Choosing a compiler
Yes, but...Ryan Norton wrote:http://lab.msdn.microsoft.com/express/v ... fault.aspxasp wrote: Any recommendation?
"...you cannot publicly deploy any applications you create with the beta. This is for testing and evaluation purposes only."
Re: Choosing a compiler
What about http://msdn.microsoft.com/visualc/vctoolkit2003/asp wrote:Any recommendation?
Platform: MSW (Windows XP Pro)
Compiler: msvc 13.10.3077 (Free Toolkit)
wxWidgets: v2.6.0
Compiler: msvc 13.10.3077 (Free Toolkit)
wxWidgets: v2.6.0
Re: Choosing a compiler
Yes but, there is no make, no debugger and no cvtres. By the way, the applications compiled with the free toolkit, can be redistributed without restrictions?krysa wrote:What about http://msdn.microsoft.com/visualc/vctoolkit2003/asp wrote:Any recommendation?
Re: Choosing a compiler
Many questions are already answered in the wx/Wiki pages like this one: http://wiki.wxwidgets.org/wiki.pl?Insta ... Free_Toolsasp wrote:Yes but, there is no make, no debugger and no cvtres. By the way, the applications compiled with the free toolkit, can be redistributed without restrictions?
Many tools are availiable with PlatformSDK: http://www.microsoft.com/msdownload/pla ... nlevel.htm.
Some other tools:
nmake - comes with .NET Framework 1.1 SDK http://www.microsoft.com/downloads/deta ... laylang=en
debugger - http://www.microsoft.com/whdc/devtools/ ... fault.mspx
cvtres - http://support.microsoft.com/kb/187280/en-us*
i know there are much to download and install, but once you set it up, you can just write nmake (or cl/lib/link). I actualy spent almost 2 days until i got all the tools downloaded and installed, but now - i have no problems.
*cvtres is included with .NET framework 1.1 SDK (see a few posts bellow), you dont actualy need this Visual Studio patch!
a lib tool - it's pretty simple to write cmd(bat) file, that does the trick example:
Code: Select all
@ECHO OFF
SET LIB_OPTIONS=/LIB
:STARTLOOP
IF $%1$ == $$ GOTO ENDLOOP
SET LIB_OPTIONS=%LIB_OPTIONS% %1
SHIFT
GOTO STARTLOOP
:ENDLOOP
CALL LINK %LIB_OPTIONS%
You can find EULA there too.Are there any restrictions on how I use the Visual C++ Toolkit?
In general, no. You may use the Toolkit to build C++ -based applications, even commercial applications, and you may redistribute those applications in accordance with the terms of the End User License Agreement (EULA).
PS: i didn't actualy used the debugger, so i don't know if it works or not, but i don't see a reason why it shouldn't.
EDIT: new information about cvtres tool.
Last edited by krysa on Wed Mar 30, 2005 8:28 pm, edited 1 time in total.
Platform: MSW (Windows XP Pro)
Compiler: msvc 13.10.3077 (Free Toolkit)
wxWidgets: v2.6.0
Compiler: msvc 13.10.3077 (Free Toolkit)
wxWidgets: v2.6.0
Re: Choosing a compiler
Hmm, that page has been updated since the last time I read it. I will try it. By the way, the link to cvtres seems to be a patch for Visual Studio. Is it ok to use it without having Visual Studio?krysa wrote:
Many questions are already answered in the wx/Wiki pages like this one: http://wiki.wxwidgets.org/wiki.pl?Insta ... Free_Tools
Re: Choosing a compiler
Well, now that you asked - i tried to find any information about restrictions or something... I couldn't find anything... There is no licenses, EULA's or anything in the package... Not sure, but i think you CAN use it... I will look into this, and i'll report here on what i've found.asp wrote:Hmm, that page has been updated since the last time I read it. I will try it. By the way, the link to cvtres seems to be a patch for Visual Studio. Is it ok to use it without having Visual Studio?
Platform: MSW (Windows XP Pro)
Compiler: msvc 13.10.3077 (Free Toolkit)
wxWidgets: v2.6.0
Compiler: msvc 13.10.3077 (Free Toolkit)
wxWidgets: v2.6.0
Re: Choosing a compiler
Damn...
I've just found out... You don't need this cvtres patch...
.NET Framework SDK 1.1 has this file in:
%windows dir%\Microsoft.Net\Framework\v1.1.4322\cvtres.exe
and it appears that this file is NEWER than the one form the patch...
Patch version: 5.00.1736.1
.NETFW version: 7.10.3052.4
Since it is distributes with .NET Framework SDK (i'm 100% sure) - you can use it without Visual Studio!
I've just found out... You don't need this cvtres patch...
.NET Framework SDK 1.1 has this file in:
%windows dir%\Microsoft.Net\Framework\v1.1.4322\cvtres.exe
and it appears that this file is NEWER than the one form the patch...
Patch version: 5.00.1736.1
.NETFW version: 7.10.3052.4
Since it is distributes with .NET Framework SDK (i'm 100% sure) - you can use it without Visual Studio!
Platform: MSW (Windows XP Pro)
Compiler: msvc 13.10.3077 (Free Toolkit)
wxWidgets: v2.6.0
Compiler: msvc 13.10.3077 (Free Toolkit)
wxWidgets: v2.6.0