-  [JOIN IRC!]


[Return]
Posting mode: Reply
Name
Subject   (reply to 274)
Message
File
Password  (for post and file deletion)
¯\(°_O)/¯
  • Supported file types are: BMP, GIF, JPG, PNG
  • Maximum file size allowed is 10000 KB.
  • Images greater than 400x400 pixels will be thumbnailed.
  • Currently 317 unique user posts. View catalog

  • Blotter updated: 2015-09-02 Show/Hide Show All


File 134374398721.png - (62.31KB , 508x599 , 508px-Gccegg_svg.png )
274 No. 274
Hi guys,
How do I go about installing GCC on my computer? I have gone to the website (gcc.gnu.org), been directed to mirror sites (http://gcc.igor.onlinedirect.bg/releases/gcc-4.7.1/) but I'm unsure where to continue from here, as well as what to do with the files once downloaded (I'm unfamiliar with .sum and .tar.bz2 file extensions)

I'm going to use this to compile C programs, so if there's a better compiler that you recommend let me know, but this is the one suggested for my course at uni.
Thanks!!
Expand all images
>> No. 275
Any reason you can't use your distro's package manager? In Ubuntu it should be something like "sudo apt-get install gcc" (or search for GCC in the graphical interface, mark it and click install).
Compiling GCC can be somewhat difficult and takes a while to finish. Considering you're completely lost I suggest you avoid compiling it yourself for now.

One more thing: you are using GNU/Linux (or some other *nix), right? I ask because the Windows GCC port is called MinGW. Read here http://www.mingw.org/wiki/Getting_Started for instructions on how to install it. There's a x86_64 version of it too, I'm not sure if you can get it from the official website, though. Or you can install GCC from Cygwin, instructions here: http://cygwin.com/install.html


.sum: checksum/hash for the files. It allows you to know if the downloaded file is broken and should be downloaded again

.tar.bz2: compressed archive (like .zip). You can extract it with "tar xjf filename.tar.bz2", or with 7-zip (which will extract a .tar, and you'll have to extract the .tar too to get the files).
>> No. 277
>>275
I should've pointed that out, sorry. I'm using Windows 7! I know, rookie move. I would really like to download Ubuntu, but I'm a bit hesitant considering I've never used it. I should probably learn a bit before I throw myself off the deep end.

Thank you for the link though - I downloaded MinGW and it has been working! Also, thank you for the explanation on .sum and .tarbz2
>> No. 278
btw, code:blocks has gcc included as default compiler
>> No. 281
Look up the MinGW suite. It's the windows version of GCC
>> No. 283
I'd recommend just installing a distro like ubuntu, mint, ect. Otherwise you are just going to have to learn how to install programs like gcc and tar all over again.

If you really want to do everything in windows 7 before you install a linux distro try cygwin. It's a unix environment for the windows desktop and will let you install all kinds of unix programs

Also have you tried installing a linux distro into a virtual machine like virtualbox? its ridiculously easy to do.
>> No. 627
File 141598562781.jpg - (155.87KB , 1024x684 , 8oSHe.jpg )
627
rude


Delete post []
Password  
Report post
Reason