|
Luigi Auriemmaaluigi.org (ARCHIVE-ONLY FORUM!) |
|
It is currently 19 Jul 2012 11:52
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 9 posts ] |
|
Author |
Message |
jal
|
Post subject: compiler Posted: 31 Oct 2010 11:10 |
|
Joined: 31 Oct 2010 11:07 Posts: 5
|
hi luigi what compiler do you use to compile your windows tools like q3infoboom.exe and so on?
|
|
Top |
|
|
aluigi
|
Post subject: Re: compiler Posted: 31 Oct 2010 12:10 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
|
Top |
|
|
jal
|
Post subject: Re: compiler Posted: 31 Oct 2010 12:21 |
|
Joined: 31 Oct 2010 11:07 Posts: 5
|
can you give me a direct download link for mingw please?
|
|
Top |
|
|
aluigivacancy
|
Post subject: Re: compiler Posted: 31 Oct 2010 15:32 |
|
Joined: 24 Jun 2010 10:04 Posts: 70 Location: aluigi not @ home
|
|
Top |
|
|
jal
|
Post subject: Re: compiler Posted: 01 Nov 2010 10:09 |
|
Joined: 31 Oct 2010 11:07 Posts: 5
|
ive tryed that mingw one but when im compiling the result is larger than yours but i didnt edit the source code what can i do?
|
|
Top |
|
|
aluigi
|
Post subject: Re: compiler Posted: 01 Nov 2010 12:24 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
if you add the -s -O2 options to gcc it will create a smaller and faster executable
|
|
Top |
|
|
jal
|
Post subject: Re: compiler Posted: 01 Nov 2010 12:52 |
|
Joined: 31 Oct 2010 11:07 Posts: 5
|
it lost half of its size but still larger than yours .. anything else?
|
|
Top |
|
|
aluigi
|
Post subject: Re: compiler Posted: 01 Nov 2010 17:42 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
here I use mingw, so maybe the bigger size is caused by tdm-gcc. if there you have mingw with gcc 4.5.0 then you have the same of mine
|
|
Top |
|
|
jal
|
Post subject: Re: compiler Posted: 02 Nov 2010 10:06 |
|
Joined: 31 Oct 2010 11:07 Posts: 5
|
i dont know my version but i think its 4.5.0 theres a file called "mingw32-gcc-4.5.0.exe" in bin folder but still my file has 14.336 Bytes yours has 10.752 Bytes my commandline is: gcc -o file.exe -s -O2 q3infoboom.c -lws2_32 anything wrong there?
|
|
Top |
|
|
|
Page 1 of 1
|
[ 9 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|