Skip to content

redzzzi/C23summer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published