Jump to content

- - - - -

Linux compile makefile help

  • Please log in to reply
1 reply to this topic

#1 NCC10281982B


    The useless guy™

  • Moderator
  • PipPipPipPipPipPip
  • 6994 posts
  • Gender:Male
  • Location:Bellevue, WA

Posted 17 September 2015 - 11:58 AM

I have been working on recreating the folding cd. The current version from sf always faild to compile. I need some tourtials about commands within the file so i can disect and troubleshoot. I have tried upgrading the kernel but there is always a sib-make error.

Any pointers would be helpful.

I am DUMB, okay? Dumb as a post! Think I'm happy about it?

#2 Braegnok



  • Folding Member
  • 1551 posts
  • Gender:Male
  • Location:Colorado USA

Posted 16 November 2015 - 03:40 PM

It's been said that,.. make is a complex beast - insane amounts of in-depth stuff to learn, particularly if you intend to read or use other people's makefiles.

I've learned make and gcc a few times, and there is just too much their too remember -- i.e., once you have a build environment going you are likely to forget the intricacies.


So as a piece of advice I would suggest not learning them.

Instead pick one of the good tools out there that abstract make,.. and autotools away (the way an IDE like Netbeans does).

You might want to "learn" one of those tools instead.


One such tool is CMake,..  https://cmake.org/.


And more information than you will ever need is in GNU Make Manual,.. http://www.gnu.org/s...anual/make.html.


Additionally, there are a few good books available in the market like Linux Kernel Development (3rd Edition) by Robert Love and Linux Device Drivers (3rd Edition).

Edited by Braegnok, 22 November 2015 - 05:54 PM.

Intel Core i7-9700K 

Asus Maximus X Apex

Corsair 32GB DDR4

GeForce RTX 2080 Ti

SeaSonic SSR-1000TR

Corsair H115i Extreme