LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-10-2006, 01:35 PM   #1
bit128_linux
Member
 
Registered: Dec 2005
Location: Brasov, Romania
Distribution: Slackware, Bluewhite64
Posts: 49

Rep: Reputation: 15
Kernel 64 bit


Hi. I am using Slackware 10.2. I have a Sempron 64 bit processor 2600+ MHz.. Can you tell me how to compile the kernel for 64 bits? I'm trying this:

make ARCH=x86_64

and i'm getting this:

cc1: error: code model 'kernel' not supported in the 32 bit mode

I'm stuck. I have no idea what to do next... I never compiled something for 64 bits..
 
Old 04-10-2006, 01:42 PM   #2
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Are you trying to make a 64-bit Linux system starting with a 32-bit one?

If so, you will need a 64-bit toolchain (linker, assembler, compiler) and 64-bit 'C' libraries. This is why most start out with a 64-bit distro (unless you go the Gentoo route and build a 64-bit system from source).

It's funny you ask this question since I'm pondering doing this exact some thing, building a 64-bit Linux system from source, starting with a 32-bit distro.

EDIT; I just found this. It's not Slackware specific but it should be applicable, nonetheless.

Peace...

Last edited by tomdkat; 04-10-2006 at 03:08 PM.
 
Old 04-10-2006, 04:52 PM   #3
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
I would suggest taking a look at slamd64 (www.slamd64.com) to see if that's what you want ...

Failing that, if you honestly want to start again have a look at these three threads I fished out:

Am I on x86_64?
How to compile Slackware 10.1 packages for the 64-bit Architecture?
Cross compiled kernel-2.6.13 for x86-64 arch stops booting under Slackware-10.1

You'll find a few more links that might be of interest here: http://www.kaear.co.uk/default.asp?pageID=37

I've said quite a lot on the subject of 32-64 conversion and I've only given you threads that I have participated in - there are more out there that will probably give you more details! I highly recommend you read "Am I on x86_64?", I'm quite proud of those explanations =)

- Piete.
 
Old 04-10-2006, 05:22 PM   #4
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Thanks for the links!

Peace...
 
Old 04-11-2006, 03:48 AM   #5
bit128_linux
Member
 
Registered: Dec 2005
Location: Brasov, Romania
Distribution: Slackware, Bluewhite64
Posts: 49

Original Poster
Rep: Reputation: 15
Thanx, guys . I'm going to all those links
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling 64 bit kernel in 32 bit linux MadnessASAP Linux - Hardware 6 05-04-2009 11:47 AM
X with 64 bit kernel kghosh22 Debian 2 10-19-2005 03:52 AM
32 bit kernel on 64 bit AMD machine dipsae Linux - Software 5 10-01-2004 10:03 AM
32-bit or 64-bit linux kernel ??? gsundeep Linux - General 2 04-24-2003 08:43 PM
bit version of kernel emmanuelmathew Linux - General 4 02-22-2003 12:16 PM


All times are GMT -5. The time now is 01:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration