Author | Post | ||
unknown user |
HI folks. What compiler in your opinion is the best for C and Perl language? |
||
27.07.2004 07:39:19 |
|
||
unknown user |
Personally I have used MSVC, Borland and GNU. People always slate MSVC for being slow and producing large executables but to be honest it is probably their lack of understanding - I've produced smaller and faster executables than Borland or GNU. If you're using windows then GNU is useless imho. MSVC has a nice IDE and better debugging facilities than either Borland or GNU. People will argue about ISO compliance and MSVC is the least compliant of these compilers - and none of them is 100% compliant - but I suspect most people never run into the problems associated with ISO compliancy. |
||
27.07.2004 08:00:16 |
|
||
Dreamcatcher![]() |
If you dont feel like downloading large files ore paying big amounts of money i suggest Bloodshed DeV-C++ this will compile both C as C++ and its small and freeware, easy in use. It has less options then the bigger compilers then the microsoft and borland vompilers but it also makes it more easy to start with |
||
![]() |
|
||
unknown user |
then maybe you know a trick to reduce the amount of garbage that msvc puts into my files :/ |
||
31.07.2004 01:03:49 |
|
||
unknown user |
try this: 1. compile it as the release version. 2. add the following: #pragma comment (linker,"/ENTRY:main /FILEALIGN:0x200 /MERGE:.data=.text /MERGE:.rdata=.text /SECTION:.text,EWR /IGNORE:4078") (should be one line) |
||
31.07.2004 13:35:55 |
|
||
unknown user |
#pragma comment (linker,"/ENTRY:WinMain") spared me 20% ![]() .. but now it only starts in the debugger lol |
||
31.07.2004 13:44:26 |
|
||
unknown user |
well, you shouldn't use winmain if you want it to be small. if you want more details then read Creating small executable files with VC++ By: Pegasus |
||
31.07.2004 15:19:02 |
|
||
unknown user |
ok i tried the main thing, played with the project options and replaced the only call to atoi with StrToInt and now its 3kb instead of 24kb :> |
||
01.08.2004 18:31:52 |
|