Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 76 characters in body
Source Link
sinister
  • 3.5k
  • 2
  • 20
  • 37

for this:

for this:

Clang -ggdb -Wall -Werror hello.c -lcs50 -o hello

Clang -ggdb -Wall -Werror hello.c -lcs50 -o hello

if the library (such as cs50 library) is loaded and processed before source code ,then it's as if iI didn't write the -lcs50-lcs50 at all

so why it would like this? why can't i write library before source code?

for this:

Clang -ggdb -Wall -Werror hello.c -lcs50 -o hello

if the library (such as cs50 library) is loaded and processed before source code ,then it's as if i didn't write the -lcs50 at all

so why it would like this? why can't i write library before source code?

for this:

Clang -ggdb -Wall -Werror hello.c -lcs50 -o hello

if the library (such as cs50 library) is loaded and processed before source code ,then it's as if I didn't write the -lcs50 at all

so why it would like this? why can't i write library before source code?

Source Link

why always link library at the end of commands?

for this:

Clang -ggdb -Wall -Werror hello.c -lcs50 -o hello

if the library (such as cs50 library) is loaded and processed before source code ,then it's as if i didn't write the -lcs50 at all

so why it would like this? why can't i write library before source code?

1
2