DEV Community

Understanding C/C++ Build system by building a simple project

Narasimha Prasanna HN on October 02, 2020

C/C++ is the mother of many popular programming languages out there today, all the fancy programming languages we use today like Python, JavaScript...
Collapse
 
mrandreastoth profile image
Andreas Toth

Very well logically and well structured explanation. There's a few spelling errors that could be fixed, but that's to be expected on such a long article. Other than that, one technical improvement I could suggest is to spell out that the definition of the object files are dependent on the target. It would also be good to spell out how the linker determines what external libraries to dynamically link to. Other than these points, it's a near perfect article. Well done!

Collapse
 
tsjuanjs profile image
Juan José García

Great post, in the main.c and free_memory_api.c files the

include "memory_api.h" should be #include "free_memory_api.h" for the tutorial to work as expected, I cant no wait for the second part ;)

keep the great work!

Collapse
 
narasimha1997 profile image
Narasimha Prasanna HN

Yes! Haha. Thanks for reminding.

Collapse
 
tsjuanjs profile image
Juan José García

Thanks to you for sharing know-how in such a simple way.

Thread Thread
 
narasimha1997 profile image
Narasimha Prasanna HN

You're welcome

Collapse
 
sharmaarun profile image
Arun Sharma

Very easy to understand! Thanks

Collapse
 
narasimha1997 profile image
Narasimha Prasanna HN

Thanks

Collapse
 
johnny4fun profile image
Johnny Zhang

The easiest article I have ever read! Thumb up!

Collapse
 
narasimha1997 profile image
Narasimha Prasanna HN

Thanks man

Collapse
 
trungduong profile image
hoai_thanh pham

it take me few hours

Collapse
 
meghanask profile image
Meghana-sk

Thanks

Collapse
 
narasimha1997 profile image
Narasimha Prasanna HN

You're welcome

Collapse
 
shofiqtest profile image
Shofiqul

Thanks, @Naransmha, appreciate this article.

Collapse
 
narasimha1997 profile image
Narasimha Prasanna HN

Thanks

Collapse
 
zdev1official profile image
ZDev1Official

I had Makefile problems, thanks!!

Collapse
 
narasimha1997 profile image
Narasimha Prasanna HN

You're welcome