Guys... I need help with this damn compiler!

Well. I'm running Win10 so let's go:
I wanted to test some of my simple c language programs.
Installed mingw32 and downloaded gcc-compiler and it's library's.
The problem i'm running in, how tf do I execute it?

I mean, everything is okay but that crap gives me problems! I'm really lost so help would be appreaciated @_@

[I don't want to modify environement path for reasons, last time i tried that it didn't go well]
And before you get too excited: No, i'm not able to code shit in C. I'm just a small, starting user. I downloaded a book off internet which is very user friendly so far so...

Also, self-motivation is cool! I want to code at all cost.
  • Like
Reactions: 1 person

Comments

V
@Shadowfied You are not alone, while i'm not a fan of Sublime, I hate VSCode or anything that takes 200+MB just to let me write code. Most of the time people don't even NEED an IDE. They are writing a little 20 line program and not a huge website. I just don't get the point.
 
Sorry I didn't see this blog before.
Did you fix your problem?
AFAIK mingw comes with a simplified version of bash, that you can run and it already is configured with appropriate paths, so you could compile from there easily just running your typical gcc -o bla.exe bla.c; or even better you can write a Makefile and run make from there.
You can also go the easier way and install some IDE, like... well, the easiest way would be to install a Qt package already including mingw (as it comes preconfigured) and use Qt Creator, but sure that is a bloat.

Anyway, let me know if you need help (I normally don't have access to a Windows PC but I can do my best anyway)
 
F
@Sarkelez I fixed it.
Using Code::Blocks which is very fast and good.
 
  • Like
Reactions: 2 people

Blog entry information

Author
Felek666
Views
396
Comments
128
Last update

More entries in Personal Blogs

  • 4: Reddit
    Finally, number 4! Never thought this day would come, did you? Uhh...
  • books
    1. I am cool as hell, have one million dollars 2. I am banned from...
  • Syncthing is fun!
    Having been kinda active in an Android forum I quickly got sick about...
  • Feeling at home here
    Not much to say this time. I'm depressed. Like almost always. Trying to...
  • I'll start, rate mine 1-10
    It's a very mixed bag, some rock, some rap, some video game music, a...

Share this entry

General chit-chat
Help Users
  • PandaPandel @ PandaPandel:
    i am sad ugh
  • Gamemaster2022 @ Gamemaster2022:
    What are we playing today?
  • PandaPandel @ PandaPandel:
    Destiny 2 and Pokemon Alpha saphire
  • Gamemaster2022 @ Gamemaster2022:
    Great titles. I'm about to play some Pokémon Emerald. I need to lvl up
    +1
  • PandaPandel @ PandaPandel:
    yassssss i love emerald
  • BakerMan @ BakerMan:
    more of a platinum guy myself personally
    +1
  • BakerMan @ BakerMan:
    guys i just checked to see what's in the fortnite item shop today and saw that metallica skins, atla skins and jjk skins are in the item shop at the same time rn, shit's not real 💀
    +1
  • PandaPandel @ PandaPandel:
    im playing fortnite rn and just got rsn over by a car
    +1
  • Xdqwerty @ Xdqwerty:
    @PandaPandel, irl or in the game?
  • Xdqwerty @ Xdqwerty:
    Btw it seems like the user dtapple disabled others posting on their profile, either they are going through something or they blocked me. Better leave them alone ig
  • Veho @ Veho:
    I sat on my ball and I think I crushed it

    :sad:
  • Xdqwerty @ Xdqwerty:
    @Veho, atleast you still have the other one
  • Veho @ Veho:
    Yeah that's why we have two balls. Redundancy.
    +2
  • Veho @ Veho:
    The squished one still hurts like a motherfucker tho.
  • 4d1xlaan @ 4d1xlaan:
    why did you do that
    +1
  • Xdqwerty @ Xdqwerty:
    @4d1xlaan, he just wanted to sit down
  • T @ Texasauras:
    admonish
  • Xdqwerty @ Xdqwerty:
    @AncientBoi, fixed it?
    +1
  • Veho @ Veho:
    As in, kiss and make better?
    +1
    AncientBoi @ AncientBoi: Si :D +1