redzzzi / C23summer

โ˜€๏ธ โ„‚ ๐Ÿค

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C lang studynote during summer vacation ~ โ˜€๏ธ

๐Ÿท๏ธ๋ฉ”๋ชจ๋ฆฌ writedown
๐Ÿท๏ธ๋ฉ”๋ชจ๋ฆฌ ๊ตฌ์กฐ
๐Ÿท๏ธ๋ฌธ์ž์—ด ์ž…๋ ฅ ํ•จ์ˆ˜
๐Ÿท๏ธ์ž๋ฃŒํ˜•
๐Ÿท๏ธํ˜• ๋ณ€ํ™˜
๐Ÿท๏ธ์—ฐ์‚ฐ์ž ์šฐ์„ ์ˆœ์œ„
๐Ÿท๏ธ๋น„ํŠธ ์—ฐ์‚ฐ

  • gcc <file>.c ์ปดํŒŒ์ผ์„ ํ•  ๋•Œ ์™œ a.exe๊ฐ€ ์•„๋‹Œ a.out์ด ๋งŒ๋“ค์–ด์งˆ๊นŒ?
    • ๊ด€๋ จ ์Šคํƒ์˜ค๋ฒ„ํ”Œ๋กœ์šฐ ๊ธ€
    • ์œˆ๋„์šฐ์—๋Š” a.exe๊ฐ€ ์ƒ๊ธฐ์ง€๋งŒ ๋‹ค๋ฅธ ํ”Œ๋žซํผ์—์„œ๋Š” ์ง€์›์„ ์•ˆ ํ•˜๋Š” ๋“ฏ
      • ๋งŒ์•ฝ์— ์œˆ๋„์šฐ์—์„œ .out์„ ๋งŒ๋“ค์–ด๋‚ด๊ณ  ์‹ถ๋‹ค?
        • gcc <source> -o <dest>.out
    • ๋ฆฌ๋ˆ…์Šค์—์„œ๋Š” .out์„ ๋งŒ๋“ค์–ด๋ƒ„
a.out file can be further linked to the definitions (or more technically libraries)
represent in the OS to form the executable image

About

โ˜€๏ธ โ„‚ ๐Ÿค


Languages

Language:C 77.4%Language:SWIG 21.8%Language:Assembly 0.8%