Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 14:49

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: compiler
PostPosted: 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
 Profile  
 
 
 Post subject: Re: compiler
PostPosted: 31 Oct 2010 12:10 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I use mingw.
you can find more info about how I compile my stuff here:
http://aluigi.org/about.htm#compile


Top
 Profile  
 
 Post subject: Re: compiler
PostPosted: 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
 Profile  
 
 Post subject: Re: compiler
PostPosted: 31 Oct 2010 15:32 

Joined: 24 Jun 2010 10:04
Posts: 70
Location: aluigi not @ home
you can choose between the official mingw:

http://sourceforge.net/projects/mingw/files_beta/ (the "looking for latest version" link)

or tdm-gcc (which is usually the most updated and probably easier to install):

http://tdm-gcc.tdragon.net/download


Top
 Profile  
 
 Post subject: Re: compiler
PostPosted: 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
 Profile  
 
 Post subject: Re: compiler
PostPosted: 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
 Profile  
 
 Post subject: Re: compiler
PostPosted: 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
 Profile  
 
 Post subject: Re: compiler
PostPosted: 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
 Profile  
 
 Post subject: Re: compiler
PostPosted: 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
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC [ DST ]


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

Search for: