Question:
How to compile, link and assemble in unix?
Champ12X
2013-04-28 07:48:16 UTC
How do I compile seperate in the unix system. I need the files .s .o and a.out
I don't just want to use cc main.c to compile.
Three answers:
Dufflepod
2013-04-28 07:53:22 UTC
All that and much much more here: http://www.delorie.com/djgpp/v2faq/faq8_20.html
pavoni
2016-11-30 15:01:22 UTC
A compiler is a undeniable software that approaches statements written in a undeniable programming language and turns them into device language or "code" that a working laptop or pc's processor makes use of. commonly, a programmer writes language statements in a language alongside with Pascal or C one line at a time employing an editor. The document that is created includes what are referred to as the source statements. The programmer then runs the suited language compiler, specifying the call of the document that includes the source statements.
Francis
2013-04-28 08:13:12 UTC
I think GNU has an assembler that you can use: as


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...