flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > Most recommended freeware C/C++ compiler? Goto page Previous 1, 2, 3, 4, 5, 6 Next |
Author |
|
Maverick 13 Nov 2006, 04:43
Simply link with LIBCMT.LIB, not MSVCRT.LIB.
The details of how to do it depend on how you configured your environment. I do it in a maximally non-standard way, and for me it means to do it in the linker. For normal usage of VS, it probably means to use *in the compiler* the option /MT instead of /MD (which I think is the default). Both switchs are for Release, and become /MTd and MDd in case of Debug. I hope that has been useful. |
|||
13 Nov 2006, 04:43 |
|
Filter 13 Nov 2006, 05:37
My Opinion...
Borland C++ is a little outdated but can still be used. Visual C++ Express is good and fairly easy to use for beginners and also allows RAD programming. Watcom C++ has some great potential but the IDE is showing it's age. DJGPP is great for DOS programming just remember to strip the exes. Also remember to get RHIDE. MinGW is not maintained as much as I would like to see. Visual Studio is much preferred for this reason. Pelles C looks great but I haven't had time to spend with it to get familiar enough with it. I'm more of a C++ programmer anyway. If you just want Visual Studio command line then just download the Windows Vista/XP Windows SDK. It has all the compilers for all three platforms that are supported. It even includes masm for 32 and 64 bit. Another thing it includes is vcbuild that will build and/or update vc++ projects. I prefer Visual Studio for all Windows programming because 90% of everything written for Windows will compile with it, even open source applications tend to have a Visual C++ project file. |
|||
13 Nov 2006, 05:37 |
|
Maverick 13 Nov 2006, 06:14
Filter wrote: If you just want Visual Studio command line then just download the Windows Vista/XP Windows SDK. It has all the compilers for all three platforms that are supported. It even includes masm for 32 and 64 bit. Interesting. Please, could you tell the version string of the compiler? E.g.: Code: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.10905 for 80x86 _________________ Greets, Fabio |
|||
13 Nov 2006, 06:14 |
|
OzzY 13 Nov 2006, 12:59
Quote: If you just want Visual Studio command line then just download the Windows Vista/XP Windows SDK. It has all the compilers for all three platforms that are supported. It even includes masm for 32 and 64 bit. Another thing it includes is vcbuild that will build and/or update vc++ projects. Interesting. I didn't know that. If I knew it before I would not install the Express edition and just use PSDK+Code Blocks. Because the VC++ Express IDE (or any .NET program) run too slow here that it's not possible to use. A RAD environment just become a SAD (Slow Application Development ). Is it just my computer or does it happen with someone else here? PS: I can't find cl.exe in PSDK\bin folder. I just find a Win64 folder which cl.exe for 64-bit machines. Do I have to select something from the PSDK installation? (Microsoft Platform SDK for Windows Server 2003 R2 version here) |
|||
13 Nov 2006, 12:59 |
|
Maverick 13 Nov 2006, 13:39
OzzY Osbourne wrote: Because the VC++ Express IDE (or any .NET program) run too slow here that it's not possible to use. A RAD environment just become a SAD (Slow Application Development ). Is it only me or whenever I hear Garbage Collection outside of kids' BASIC circles I feel *VERY* bad in the stomach? Now if you take a look at that Java-rip .NET bytecode, you'll see that it's based on ideas that were obsolete already 30 years ago (when will do people realize that stack based machines, although the Forth language is truly lovely, are hopelessly less efficient than register based ones?). Oh yeah, the .NET JIT optimizes the code anyway.. and we all see the results. Quote: PS: I can't find cl.exe in PSDK\bin folder. I just find a Win64 folder which cl.exe for 64-bit machines. Do I have to select something from the PSDK installation? _________________ Greets, Fabio |
|||
13 Nov 2006, 13:39 |
|
OzzY 13 Nov 2006, 17:05
Nope. I downloaded the x86 one.
But I think they just begun to add x86 compilers from the Vista SDK. Mine is 2003 SDK. Which one do you have? Ahh... I don't see why people keep using .NET. They are keeping that crappy thing alive. I must say that I TRIED to use it. But it goes beyond my patience. I can't wait 15 seconds (on the best case) to see a splash screen of Visual Studio and wait more 40 seconds to wait it create the project. Then I drop a button and wait more 12 seconds with the "clock" mouse pointer showing that it's loading and the CPU at 100% usage. This just sux dude... Visual Studio was great 'till the 6 version. Now it's unusable. I have an Athlon XP 2000+, 256MB RAM. Is my machine too old for programming? Because I've begun to think I need a machine for High-CPU-usage-3D-realtime-online games just to do simple programming. |
|||
13 Nov 2006, 17:05 |
|
Ehtyar 13 Nov 2006, 19:49
Aaaaaaaaaamen to that.
Ehtyar. |
|||
13 Nov 2006, 19:49 |
|
vid 13 Nov 2006, 21:13
Ozzy: use it from command link. just CL.EXE and LINK.EXE
|
|||
13 Nov 2006, 21:13 |
|
Maverick 14 Nov 2006, 06:55
Yeah, VC got improved a lot after VC6, BUT YOU MUST use it as real men, i.e. command line. (maybe, since you're a real man, don't even use a keyboard ).
Also, using it as command line and with no stupid headers, it fits in the 0.2% of my USB Pen, which is nice. |
|||
14 Nov 2006, 06:55 |
|
OzzY 14 Nov 2006, 14:50
Yes... using from command line is a lot faster.
Just using an editor like vim and calling cl from command line and everything is alright. I couldn't find VC++ for x86 at PSDK. The only option to get command line tools only is by installing VC++ Express without the IDE. Although I'm thinking about switching to Digital Mars compiler as it's not a huge package like VC++ and seems to compile C++ more optimized than GCC. Plus, I'm testing the D language which seems nice with features of C# without targeting the stupid .NET. Have anyone tried it for real project (at least a small one)? I like to use vim as editor + GCC or VC++ as compiler (GCC gave me less problems) + FLTK (Fast Light Toolkit - a nice cross-platform GUI library) + FASM (for optimizing code / accessing low-level / writting code that works better in ASM than C). |
|||
14 Nov 2006, 14:50 |
|
Vortex 14 Nov 2006, 17:34
_________________ Code it... That's all... |
|||
14 Nov 2006, 17:34 |
|
rugxulo 15 Nov 2006, 03:42
Here's some stuff I noticed while recently browsing comp.os.msdos.djgpp on Google Groups:
Last edited by rugxulo on 15 Dec 2006, 20:05; edited 1 time in total |
|||
15 Nov 2006, 03:42 |
|
Filter 15 Nov 2006, 04:30
Maverick, CL.exe version number in Windows SDK is 14.00.50727.42 the same as Visual Studio 2005. Where did you get version 15? Is it beta?
Ozzy, your using Windows 2003/XP/2000 SDK you need the Vista/XP/2003 SDK to get the 32-bit cl.exe. They didn't include it in the earlier release of the SDK but don't ask me why because it doesn't make sense to me. Everybody rips .NET but you can fit a "Hello World" console application into a very small 16MB of physical memory. Why do you need that silly assembler that everybody keeps talking about with memory overhead so low in .NET? OK I was just kidding. .NET is a memory hog. I'm the type of guy that believes that everything has a purpose and anything without a purpose isn't worth using. .NET isn't so bad IMO because I find good uses for it. I will admit that I have 2 GB of memory so it doesn't bother me to use 15 - 30 MB for a simple application. I try to stay away from VB as much as I can help it though. I use assembler not because I think it beats all else but rather because it has good uses. I tried forever to get a native windows applications that will run before Win32 loads. I tried the Win2k3 DDK and it wouldn't compile the applications that I was trying to write. I found out that I can do what I want in FASM. |
|||
15 Nov 2006, 04:30 |
|
f0dder 15 Nov 2006, 08:57
Which version of the compiler is included in the SDK? Full optimization, or the retarded little brother?
|
|||
15 Nov 2006, 08:57 |
|
Maverick 15 Nov 2006, 09:08
Filter wrote: Maverick, CL.exe version number in Windows SDK is 14.00.50727.42 the same as Visual Studio 2005. Quote: Where did you get version 15? Is it beta? _________________ Greets, Fabio |
|||
15 Nov 2006, 09:08 |
|
Filter 17 Nov 2006, 01:51
f0dder wrote: Which version of the compiler is included in the SDK? Full optimization, or the retarded little brother? Doesn't seem to be any different than the one that is included with Visual Studio. I haven't done an MD5 hash or anything like that to compare but it seems that way. |
|||
17 Nov 2006, 01:51 |
|
Filter 17 Nov 2006, 01:53
Maverick wrote:
I don't like using beta software. The stuff I write should be usable on all systems without problems that beta might introduce. I will wait for VS 2005 SP1 to go gold. The Visual Studio Express betas were pretty rock solid but I didn't write anything of importance with them. |
|||
17 Nov 2006, 01:53 |
|
Maverick 17 Nov 2006, 06:26
At least compiler-wise, Orcas beta is less buggy than VS 2005. Trust me that I'm an expert when it comes to find compiler bugs.
I use the less buggy compiler version that I can use, and that's not even VS 2005 SP1 beta right now (and I was told by Microsoft that some bugs I reported won't be corrected neither in the SP1 release, due to time constraints, but will go to the next major revision instead. Please note that I'm not taking about new features' suggestions, but about code generation bug fixes! although quite tricky ones which maybe affect only me and 10 other people in the world ). Yes, it "looks" like Microsoft privileges to tune the Orcas codebase rather than the VS2005 SP1 one. I don't know about IDE and such, I only use the command line compiler, but for what I grasped the Orcas beta IDE is still the VS2005 one anyway, extended someway. VC2005 (even SP1 beta) is so buggy that it will fail to compile correctly even something like this (link to MS Connect bug report I made, you probably need to have access to open the page): https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=217237 Fails even on Phoenix RDK. Works ok only in Orcas beta. Said that, use whatever you wish.. but I have to suggest you to use Orcas beta anyway. |
|||
17 Nov 2006, 06:26 |
|
OzzY 27 Mar 2007, 14:01
I just tried TinyCC, and for my surprise it looks like very complete C compiler. And it's very small package!
It makes a nice portable programming environment: TinyCC + FASM + some tiny editor (even FASMW itself). You can carry it on a floopy or USB device and do some programming fun when you are at some computer that doesn't have a compiler. Also, it's worth to check the online programming IDE which works from the browser: http://www.codeide.com/ PS: Is TinyCC still developed? |
|||
27 Mar 2007, 14:01 |
|
Goto page Previous 1, 2, 3, 4, 5, 6 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.