Just polling users in this forum ;D
How many users use gcc ?
How many gcc users understand how gcc works ?
How big gcc is and what modules it use ?
What is benefits of using gcc ?
Are using any drugs ?
Are you belief any some kind of god ?
Are you still using gcc ?
Is this some kind of joke ?
Yes it is!
Didn't know that Finnish guys are that funny, thought they are more frosty in Winter ;)
Quote from: Stefan Pendl on February 01, 2014, 11:28:53 PM
Didn't know that Finnish guys are that funny, thought they are more frosty in Winter ;)
Just a futile way trying to stay warm, I guess... 8)
As to the original "poll":
QuoteHow many users use gcc ?
Don't know, I use it (in some sorts) on systems that don't have any better/more sane alternative available
QuoteHow many gcc users understand how gcc works ?
I think that
I pretty much understand this, can't speak for other users though... :P
QuoteHow big gcc is and what modules it use ?
Yup
QuoteWhat is benefits of using gcc ?
:-\
QuoteAre using any drugs ?
No
QuoteAre you belief any some kind of god ?
No
QuoteAre you still using gcc ?
See above
Ralf 8)
Just bare gcc C 4.8 compiler is about 40 MB now ?
Not long ago 3.4 was about 12 MB ?
Quote from: timovjl on February 02, 2014, 08:49:51 AM
Just bare gcc C 4.8 compiler is about 40 Mb now ?
Not long ago 3.4 was about 12 Mb ?
Not quite sure how you are counting this, but the "bare" gcc from my Arduino setup is 207KB for each AVR and ARM targets...
Ralf
First of all consider that GCC original meaning has changed from 'Gnu C Compiler' to 'Gnu Compilers Collection'.
GCC is truly a collection of different compilers, when you download the actual version you get a sw able to compile C (gcc), C++ (g++), Objective-C, Objective-C++, Fortran (gfortran), Java (gcj), Ada (GNAT), and Go (gccgo) (from release 4.6).
Consider also that the package includes even the target-specific backend code generators and the libraries for specifc machine or other systems different from the development system.
In fact GCC is a 'cross-compiling system', able to produce from a development station code that will run on almost all processors and OS's.
Than there is the linker also able to link for all code formats and systems.
A customized version, like the Arduino compiler could be, would include one language compiler (tipically C), one code backend generator and a simplified linker.
For a short description see this (http://en.wikipedia.org/wiki/GNU_Compiler_Collection).
"bare gcc C compiler" ;) just that.
If for GCC 4.8.1
QuoteDisk space requirement: 500MB for the source and ~2.1GB for the compiled files. About 3GB space will be needed for the temporary files when compiling.
40Mb is reasonable ;D
Actually GCC is wrote in C++ :( so takes a lot of crap with it!
Quote from: frankie on February 03, 2014, 03:12:50 PM
If for GCC 4.8.1
40Mb is reasonable ;D
Oops :-[
PellesC v7: pocc.exe 2 MB ARM x86 x64
MSVC 18: cl.exe + c1.dll + c2.dll 4.8 MB x86
gcc 4.8.1: gcc.exe cc1.exe as.exe ... 15.3 MB x86
and ld.exe + LTO > 12 MB
I use gcc to writing hello world examples. Because GCC can build EXE with zero-runtime, unlike MSVC (this shit putting anywhere CRT).
And GCC have many interesting plugins.
Most of C compilers can create a zero or minimal crt applications.
Only compiler support routines have to give somehow, like some sort of crtmin.lib and msvc isn't an exception.
Sometimes gcc needs an additional __main() stub.
gcc and polink (https://forum.pellesc.de/index.php?topic=7059.msg26794#msg26794)
EDIT: gcc 7 and 8 has a bug with .drectve, wrong Characteristics in object-file:
Characteristics
00000040 IMAGE_SCN_CNT_INITIALIZED_DATA
00300000 IMAGE_SCN_ALIGN_4BYTES
40000000 IMAGE_SCN_MEM_READ
80000000 IMAGE_SCN_MEM_WRITE
should be:
Characteristics
00000200 IMAGE_SCN_LNK_INFO
00000800 IMAGE_SCN_LNK_REMOVE
So with polink.exe use -merge:.drectve=.rdata