Compiling means that you take code then run that code trough a program that checks if the code works like intended. After that it will put out a binary/exe/whatever that you can work with further.
Compiling means that you take code then run that code trough a program that checks if the code works like intended. After that it will put out a binary/exe/whatever that you can work with further.
Lost_My_Mind@lemmy.world 1 month ago
And I have no idea what that means.
How do you reboot? You click start>power>reboot.
I know what that means.
Ask me to compile a script? Uhhhhh…
Iapar@feddit.org 5 weeks ago
Open terminal > cd (command to change directory) into the directory where the code is that you want to compile > then run the compiler
In rust I would CD into the directory that I have written my code in. Let’s say user/rust/projects/example1 with the command:
Now every command I type will be executed on that directory. The tool I use is called “cargo” the command to compile is “build”.
So with that information I type:
While being in user/rust/projects/example1 and when I did everything right my Programm will compile and the result of that can be found in a folder in that project. Something like:
Hope that helps to give a overview of how the process is supposed to go when everything works without a problem.
KrapKake@lemmy.world 1 month ago
The code is your ingredients, you put the ingredients together, then bake it (compile). When it’s done you have a pie (a program you can execute and run).
FlyingSquid@lemmy.world 1 month ago
A lot of people would rather just go to a store and buy a pie.