Jump to content


Photo
- - - - -

Linux compile makefile help


  • Please log in to reply
1 reply to this topic

#1 NCC10281982B

NCC10281982B

    I am so done.

  • Moderator
  • PipPipPipPipPipPip
  • 6972 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.

http://sourceforge.n...ects/foldingcd/
I am DUMB, okay? Dumb as a post! Think I'm happy about it?
 
sigimage.gifCFr15LujaQwHZgiAc222zw.png

#2 Braegnok

Braegnok

    Nimrod

  • Folding Member
  • 1410 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-8700K

Asus Maximus X Apex

NVidia GTX 1080 Ti 

Corsair 16GB 2666MHz

SeaSonic SSR-850TR

Corsair Hydro H115i