| Author |
Message |
Bruce B

Joined: 18 May 2005 Posts: 10824 Location: The Peoples Republic of California
|
Posted: Tue 07 Jun 2011, 07:53 Post subject:
Links to Internet Sources Subject description: Compiling related |
|
Please make links clickable and formatted
~
_________________ New! Puppy Linux Links Page
Last edited by Bruce B on Tue 07 Jun 2011, 17:52; edited 1 time in total
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Tue 07 Jun 2011, 10:01 Post subject:
|
|
How to compile Linux kernel
Compile Linux kernel 2.6
getting started about kernel compilation
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2201 Location: UK
|
Posted: Tue 07 Jun 2011, 12:18 Post subject:
|
|
Kernel Compiling Guides:
- Full Kernel How To
- How to Compile the Kernel, from PuppyLinux.com
- Kernel Compile Guide by Iguleder
- Compiling the 2.4 Kernel
General Compiling Guides:
- A Beginners Compiling Guide
- General Compiling Overview and How To
- How to compile within Puppy, from Puppy Wikka
- Compiling Kernel Modules, by TLDP.org
- Compile Errors and Troubleshooting
- A Short Make file guide
- Creating and applying .diffs and patches
Standard Compiling tools in Linux:
- Make - a nice guide
- GNU Make - the full manual
- GCC Compiler - the full manual
Compiling Tools used in Puppy:
- src2pkg - compile automation tool
- using src2pkg, more information
- new2dir - package separation and creation
- new2dir, troubleshooting
- new2dir and cmake
Quick Tips:
- Set your 'install' directory without new2dir
Manage Source Code:
- SVN tutorial by nixtricks
- Git Tutorial at kernel.org
Source Code used in Puppy
- http://bkhome.org/sources/ (username, password: p*ppy, l*nux)
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Tue 07 Jun 2011, 21:00 Post subject:
Why Compile a new Kernel? |
|
Why Compile a new Kernel?
http://www.hotaboutlinux.com/2010/02/why-compile-a-new-kernel/
systemtap, as recommended in previous link
http://sourceware.org/systemtap/wiki
Can someone please post a thread explaining static and dynamic links, with advantages/disadvantages, please?
Aitch
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2201 Location: UK
|
Posted: Wed 08 Jun 2011, 07:21 Post subject:
|
|
Configuring and compiling, by GNU
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 08 Jun 2011, 11:30 Post subject:
|
|
How to compile Linux kernel
Compile Linux kernel 2.6
getting started about kernel compilation
Noob Developers for Puppy 5.3 'Spot '
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
WillM
Joined: 30 Dec 2009 Posts: 101 Location: Oakland, California
|
Posted: Mon 13 Jun 2011, 16:29 Post subject:
|
|
http://puppylinux.org/wikka/compiling
http://puppylinux.org/wikka/SoftwarePackageCreation
|
|
Back to top
|
|
 |
wdt
Joined: 27 Dec 2011 Posts: 11
|
Posted: Tue 27 Dec 2011, 12:16 Post subject:
looking for source |
|
Since I have a netbook with a rtl8188 wifi chip
I have had to often compile the modules.
(for magea and salix)
This needs a link /lib/modules/(version)/build which points to /usr/src/linux(version)
Where is source for Slacko, 2.6.37.6?
(my salix is smp, have already tried and failed)
dave
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1776
|
Posted: Tue 27 Dec 2011, 13:46 Post subject:
|
|
"static and dynamic links" -what you mean is link*ing*.
Linking statically means that the linked library is included in its' entirety in your final binary. dynamic linking means your final binary will look for the shared(dynamic) links at runtime. Actually it is ld-linux.so which looks for and loads the shared libs before runnign your program, but that is another story.
Using static libs means you get a larger binary, but (usually) shorter load time. If the needed libs are already present on your system as shared libraries, it makes little sense (usually) to include them redundantly in your binary. If you did that for every program and library then you'd have hundreds of copies of glibs and other libs on your system -nearly everything uses glibc.
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Tue 27 Dec 2011, 13:56 Post subject:
|
|
thanks, amigo
Aitch
|
|
Back to top
|
|
 |
wdt
Joined: 27 Dec 2011 Posts: 11
|
Posted: Tue 27 Dec 2011, 14:31 Post subject:
soft link |
|
Err what I meant is a soft link, ln -s /lib/.../build /usr/src/linux...
Or else the make fails, complains that there is no build
What it finds in /usr/src I don't know, but the make completes.
and I have a rlt8192ce.ko and a rtlwifi.ko and the fireware
that make install will put into the right place.
And then the Realtek 8188ce wifi chip will work
dave
|
|
Back to top
|
|
 |
wdt
Joined: 27 Dec 2011 Posts: 11
|
Posted: Tue 27 Dec 2011, 14:33 Post subject:
|
|
Sorry can't edit post
ln command is backwards
dave
|
|
Back to top
|
|
 |
wdt
Joined: 27 Dec 2011 Posts: 11
|
Posted: Thu 05 Jan 2012, 16:47 Post subject:
|
|
Finally, after much searching
http://puppylinux-online.net/uploads/28/kernel_src-2.6.37.6-patched.sfs
Don't know yet if it is OK, still downloading
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Thu 05 Jan 2012, 17:43 Post subject:
|
|
For convenience link to kernel source is in Slickpet>sfs tab.
It downloads and installs, full or frugal. This was done to alleviate searching for source.
Only the correct source for your kernel is downloaded, because Slacko ships with a choice of kernels.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Thu 05 Jan 2012, 17:44 Post subject:
|
|
Sorry, double post
_________________ keep the faith .. 
Last edited by 01micko on Tue 10 Jan 2012, 16:16; edited 1 time in total
|
|
Back to top
|
|
 |
|