Installing gcc
-
That is what I meant with WinCG, sorry. :rolleyes: Installation is a PITA. I stopped after the fourth dialog of the installer asking me again which parts I wanted to install. X|
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
Go here[^], and download one of the archives from a subdirectory of the directory I linked to. Then just extract the archive and place it somewhere convenient. As a side note, if anyone using configure scripts reads this, I recommend Msys2[^] instead of Msys as the Unix-like environment.
Getting information off the Internet is like taking a drink from a fire hydrant. - Mitchell Kapor
-
I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
Cygwin is not that big of deal to install... and once it's on there.. you have a nifty little Linux like terminal that you can do just about anything that you can do in Linux from (including using gcc). Edit: Oh yeah, forgot to mention a lot of programs use cygwin in the background and install it without asking (probably unless you bother to look through the installation files).
-
CPallini wrote:
I cannot believe you haven't a Linux box.
What for ? I am no developer, but a system engineer.
CPallini wrote:
No virtual machines?
Not allowed at work. "Too dangerous" (c) IT guys. I kid you not.
CPallini wrote:
By the way, why did you choose
gcc
?I worked with it a long time ago, and did not think that there could be others. Thanks !
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
Rage wrote:
Not allowed at work. "Too dangerous" (c) IT guys. I kid you not.
"(c)" is short for cretinous?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
How esoteric are they? The ranting I've seen over the years implied that most major C projects would break in the MS compiler because C99 included some enhancements to the language that were useful enough that almost anyone who didn't make a point of supporting the MS compiler would use.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
CPallini wrote:
I cannot believe you haven't a Linux box.
What for ? I am no developer, but a system engineer.
CPallini wrote:
No virtual machines?
Not allowed at work. "Too dangerous" (c) IT guys. I kid you not.
CPallini wrote:
By the way, why did you choose
gcc
?I worked with it a long time ago, and did not think that there could be others. Thanks !
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
Rage wrote:
Not allowed at work. "Too dangerous" (c) IT guys. I kid you not.
:wtf: I think that should be IIT -> Idiots in Information Technology!
Getting information off the Internet is like taking a drink from a fire hydrant. - Mitchell Kapor
-
How esoteric are they? The ranting I've seen over the years implied that most major C projects would break in the MS compiler because C99 included some enhancements to the language that were useful enough that almost anyone who didn't make a point of supporting the MS compiler would use.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
Dan Neely wrote:
How esoteric are they?
To the extent that, a quarter of century since it was produced, according to this Wikipedia page: C99[^] 5 compilers 'fully' support it (
GCC
'partially'). I see your point, however, Microsoft 'partial' implementation ofC99
never hurt me too much (variable declaration at start of the block was the major inconvenience).Veni, vidi, vici.
-
I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
I mostly use Borland's : http://www.embarcadero.com/products/cbuilder/free-compiler[^] I also use the pre-processor from MinGW, which I got by installing Quincy : http://www.codecutter.net/tools/quincy/[^] But at work I use Microsoft's because it installed with Visual Studio and I don't feel like installing anything else.
-
I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
If you download Cygwin, select packages: 1. Devel (which stands for development) 2. Shells I'm thinking that this would be enough... Setup you're environment variables of you pc accordingly... If you don't know what that is, google it.
"Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>
-
That is what I meant with WinCG, sorry. :rolleyes: Installation is a PITA. I stopped after the fourth dialog of the installer asking me again which parts I wanted to install. X|
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
Welcome to Open Source Install Experience. Next step to Hell is drink the Kool-Aid and try to install a current server software on an older Linux distro in order to "give a new life to an old hardware".
-
I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
If you're on a Windows machine then have a look at using the graphical or command line installers for MinGW, really can't get easier http://www.mingw.org/wiki/Getting_Started[^] Well, actually it could get easier if you have chocolatey installed as there's a MinGW package available http://chocolatey.org/packages/mingw[^]
Eagles may soar, but weasels don't get sucked into jet engines
-
I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
At www.nuwen.org there is a nice (and current) distro for mingw's gcc 4.8.1 which includes boost. you download one file and install it in a directory (does not use registry).
-
I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
Orwell Dev-CPP would be one possibility[^]- a rather venerable IDE for GCC-based development on windows, comes with a compiler packaged into the install. Also has standalone compiler packages available for download.
-
I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb