IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

HOWTOs

Search Howtos :Match :

5.1. GCC compiler

You can build the kernel directly on your own PA-RISC box (self-hosted or native build). But on old systems, you may prefer to use another - faster - non PA-RISC computer to compile your kernel (cross-compilation). We will see the two possibilities.

Note

By the time version 1.0 of this howto was released, only gcc-3.0.X was able to build working kernels. There was a bug in more recent versions that made the box crash when network activity occurs. It should be fixed by now, so using the latest version of gcc should be fine. If ever the above mentioned bug occurs, you'll know what's wrong. Anyway, if you want to build any kernel after 2.6.12-rc3, you will need at least gcc-3.3.

5.1.1. Native build

Since Debian was the first distribution to support PA-RISC architecture, if you want to use the Super Cow powers, you need to have some basic knowledge about the Debian packaging system. We will explain here how to quickly get a gcc compiler ready on your PA-RISC box. If you are not using Debian, well, we're afraid we can't do much for you: you will have to transpose what is said below to your distribution. We will assume you know how to use

If you are using your own PA-RISC box, you only need the good old GCC compiler. You can install the required tools to build a kernel by issuing:


[user at machine ~/dir]> apt-get install build-essential libncurses5-dev
				

Essentially, this will install everything you need to build a kernel (and even a bit more). This boils down to binutils, gcc, libc-dev, make, fileutils and libncurses5-dev.

When this is done, you can proceed to the kernel settings.

5.1.2. Cross compiled build

In this kernel build method, everything depends on the architecture of your building machine. If you want to compile your own toolchain, there is a slightly out-of-date HOWTO (O'Donell 2002). Otherwise, we assume you can either find a cross-compiler package for your build host, or make one by yourself.

Important

As there is not yet a 64bit userspace on HP-PA, you have to cross-compile 64bit kernel even if you are building on a 64bit PA-RISC box. You can get unofficial debs for hppa64 compilers and binutils by running for instance:

[user at machine ~/dir]> apt-get install gcc-3.3-hppa64 binutils-hppa64
					
See the PA-RISC Linux Website for details.

Search Howtos :Match :
VLC media player 0.9.7
Cross-platform media player and streaming server
Ruby 1.9.1 p2
Interpreted scripting language
NASM 2.06rc1
NASM is an 80x86 assembler designed for portability
Veejay 1.4.3
A Visual 'music' instrument and video tracking tool.
Evolution 2.25.2
GNOME mailer, calendar, contact manager and communications tool
Sylpheed 2.6.0rc
Mail User Agent based on GTK+
Nautilus 2.25.1
The Nautilus Environment -- Delivering a Richer User Experience
GtkHTML 3.25.2
HTML rendering/editing library
Pybliographer 1.2.12
Tool for managing bibliographic databases
GFTP 2.0.19
Free multithreaded ftp client
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

eWeek

The essential technology information source for builders of e-business.

BusinessWeek (Digital Edition)

Provides readers a deeper understanding of the trends that drive growth, and what best practices keep them ahead of the competition.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info