You are not logged in.

#1 2006-07-08 09:14:05

btw0
Member
Registered: 2006-06-25
Posts: 9

where does the source code of linux reside in arch

Just wonder where is the source code. In freebsd, all the source code is in /usr/src, does arch have that directory? or do I need to install something to get source code?

Offline

#2 2006-07-08 09:27:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: where does the source code of linux reside in arch

Arch does not install the source code for anything. Under /usr/src/linux-2.6.17-ARCH, you will find the kernel headers required for building other apps, but apart from that, if you want the source code for the kernel or any of the apps, you need to get it from the relevant website/ftp server/etc e.g. kernel.org for kernel source.

Offline

#3 2006-07-08 09:57:21

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: where does the source code of linux reside in arch

tomk wrote:

Arch does not install the source code for anything. Under /usr/src/linux-2.6.17-ARCH, you will find the kernel headers required for building other apps, but apart from that, if you want the source code for the kernel or any of the apps, you need to get it from the relevant website/ftp server/etc e.g. kernel.org for kernel source.

no, those headers in there are for kernel modules only. the headers for applications are a sanitised copy based on 2.6.12 and exist in /usr/include/linux.

As for the source to Arch packages, we have something similar to fbsd's ports system (ports is on fbsd isnt it or am I wrong), it's called abs:
http://wiki.archlinux.org/index.php/ABS#The_ABS_tree

Offline

Board footer

Powered by FluxBB