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

F
Can you rephrase that into something i would understand? D:
 
F
CMD afaik.
Powershell is not used at all.
 
C
If they are really simple programs that don't require any additional libraries, then you can just execute "gcc my_code.c -o my_output.exe" in CMD.
(If it says gcc isn't a recognized command, check that the bin folder in your mingw installation is in the PATH environment variable.)

If some of them do require libraries, obviously grab and install the libraries using Pacman first, and then when it comes to compiling, you can link in those neccessary libraries with something like "gcc my_code.c -o my_output.exe -lssl -lcrypto". (that was an example of linking openssl libraries)
 
  • Like
Reactions: 1 person
F
erm the fact itself is i don't know how to run it.
Excuse my super "noob" way of approaching this but i'm literally joel at this.
Should I cd... C://mingw/bin and execute compiler?
 
F
You mean, applying it to that path enviroment thingy? i guess.
alright hopefully my clumsy hands will not make a typo like last time
 
Compiling C/C++ in Windows is absolutely miserable. unless you use Visual shits, but that is even more miserable.
 
  • Like
Reactions: 1 person
F
Shadowfied still edgy? how cute.
 
F
@EthanAddict
I guess i'll setup a Linux VM or something. Also retarded =/= Clumsy. Get it right you biggot.
 
  • Like
Reactions: 1 person
F
@EthanAddict
Screw your freeBSD. I'd rather use Linux Mint.
 
I mean, trying to use GNU tools on Windows is shit, just use the fucking userland on the OS which was made on it
 

Blog entry information

Author
Felek666
Views
442
Comments
128
Last update

More entries in Personal Blogs

  • I WON
    "ALPHADREAM IS DEAD SO NO MORE MARIO AND LUIGI GAMES (insert nerd emoji...
  • 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...

Share this entry

General chit-chat
Help Users
  • HiradeGirl @ HiradeGirl:
    @PandaPandel I was cleaning my room and put at the top of a shelf.
    +2
  • HiradeGirl @ HiradeGirl:
    I'm trying it after work.
  • HiradeGirl @ HiradeGirl:
    Thank you.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Bologna not as good as chicken :P
  • BakerMan @ BakerMan:
    guys, fun idea for when you get fucked up in the crib (but you can do it completely sober too)
  • K3Nv2 @ K3Nv2:
    If you still sleep in a crib that's a werid fetish
    +2
  • BakerMan @ BakerMan:
    take an MBTI personality test (the one with the 4-letter personalities), and then look up "characters with (your personality here) personality type", see who your personality is alike with
  • BakerMan @ BakerMan:
    like for example, i'm an ISTP, and i looked up characters with ISTP personality, and the list includes shrek and macgyver
  • K3Nv2 @ K3Nv2:
    That sounds like some cult westboro type of businesses
    +1
  • SylverReZ @ SylverReZ:
    @BakerMan, Shrek is love, Shrek is life. Lol.
  • BakerMan @ BakerMan:
    lmao ken
    +1
  • K3Nv2 @ K3Nv2:
    BakerMan signed his baking skills away to westboro now they say who you'll marry and it's probably going to be Steve
    +1
  • SylverReZ @ SylverReZ:
    @K3Nv2, Now awaiting for the wedding of Steve and BakerMan.
  • BakerMan @ BakerMan:
    who the fuck is steve and what the fuck is westboro?
  • BakerMan @ BakerMan:
    the only thing i signed my baking skills away to is "i-can't-make-focaccia-bread-for-shit"
  • K3Nv2 @ K3Nv2:
    @SylverReZ, first name is Steve
  • Xdqwerty @ Xdqwerty:
    i guess rez doesnt like me anymore
  • SylverReZ @ SylverReZ:
    @BakerMan, Steve from Minecraft?
  • K3Nv2 @ K3Nv2:
    @Xdqwerty, you got ancientboi
    +2
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Just don't go too close to him.
  • B @ btjunior:
    ⠀⢀⠀⢀⣀⣠⣤⣤⣤⣤⣤⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣠⣠⣤⣤⣤⣤⣀⠲⢦⣄⡀⠀⠀⡶⢟⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⡀⠀⠀⠀⠀⠀⠰⣷⣷⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣬⡛⢷⣔⣾⡿⠟⠋⠉⠁⠀⡀⠀⠀⠀⠀⠈⠉⠉⠙⠛⢻⠛⠛⠋⠀⠀⠀⠀⠀⠀⠀⠈⠙⢛⣛⣛⣛⣛⣉⢉⣉⡀⠀⠀⠀⠀⠀⠈⠉⠛⢿⣷⣝⠃⠀⠀⠀⠀⠀⠀⣛⣛⣛⣛⣛⣛⢛⡛⠛⠛⠛⣰⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣌⠛⠛⢛⣛⣛⣛⣛⣛⣛⣛⣓⣀⠀⠀⠀⠀⠀⠈⢻⠀⠀⠀⢀⣤⡾⠛⢻⣿⣿⣿⡿⣿⡟⢻⣿⠳⠆⠘⣿⣦⠀⠀⠀⠀⠀⠀⠀⣰⣿⠁⠐⠛⣿⡟⢻⣿⣿⣿⣿⢿⣟⠛⠻⣦⣀⠀⠀⠀⠀⠀⠀⢴⠿⣧⣄⣀⣘⣿⣿⣿⣿⣿⡿⣀⡙⢷⠀⢀⡿⠁⠀⠀⠀⠀⠀⠀⠀⠈⢻⡖⠀⣾⣋⣀⣺⣿⣿⣿⣿⣿⣏⣀⣤⣴⠿⢷⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠙⠉⠉⠉⠉⠛⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠋⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⠆⠀⠀⢀⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣶⠟⠁⠀⠀⠀⣾⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣤⣤⣴⣶⣾⠿⠛⠋⠀⠀⠀⠀⠀⢸⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠟⠛⠛⠛⠛⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠋⠀⠀⠀⠀⠀⠀⠀
    B @ btjunior: ⠀⢀⠀⢀⣀⣠⣤⣤⣤⣤⣤⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣠⣠⣤⣤⣤⣤⣀⠲⢦⣄⡀⠀⠀⡶⢟⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⡀⠀⠀⠀⠀⠀⠰⣷⣷⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣬...