From: nitric.acid@gmx.us (KK)
To: kernelnewbies@lists.kernelnewbies.org
Subject: how to compile the 0.01 version of kernel
Date: Sun, 09 Jan 2011 20:44:42 +0530 [thread overview]
Message-ID: <4D29D0E2.4050805@gmx.us> (raw)
Hello All,
I was going through the linux kernel newbie articles in
kernelnewbies.com and found it very interesting. I downloaded the
tarballs for the 0.01 version of kernel from :
http://www.kernel.org/pub/linux/kernel/Historic/
Then the next thing I was trying to do was to compile the source code
and try to understand the various methods/function calls, system calls
etc, but I'm not able to compile the code, I'm getting the following
errors:
$ make -f Makefile
gas -c -o boot/head.o boot/head.s
make: gas: Command not found
make: *** [boot/head.o] Error 127
Then I searched in the web for GAS and found that it GNU AS. I've "as"
installed in my box, so I tried creating a symlink with the name "gas"
but then bumped into another error:
$ make
gas -c -o boot/head.o boot/head.s
gas: unrecognized option `-c'
make: *** [boot/head.o] Error 1
Is GNU AS same as "as" ? when running version check I got this:
$ as --version
GNU assembler (GNU Binutils) 2.20.51.20100410
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the
terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `i686-cygwin'.
I tried searching on the web to find ways to install "GNU AS" but could
not get any useful info. I'm facing similar problem with "GNU LD". Is it
different from the "ld":
$ ld --version
GNU ld (GNU Binutils) 2.20.51.20100410
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the
terms of
the GNU General Public License version 3 or (at your option) a
later version.
This program has absolutely no warranty.
Can someone help me installing these two or let me know what is the fix
for the same.
I'm running cygwin on Win7-64 bit
Thanks
next reply other threads:[~2011-01-09 15:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-09 15:14 KK [this message]
2011-01-09 16:11 ` how to compile the 0.01 version of kernel Javier Martinez Canillas
2011-01-09 17:18 ` KK
2011-01-09 16:19 ` loody
2011-01-09 16:32 ` Robert P. J. Day
2011-01-09 22:39 ` Berlin Brown
2011-01-10 4:04 ` KK
2011-01-10 4:54 ` Berlin Brown
2011-01-09 16:40 ` Denis Kirjanov
2011-01-09 17:20 ` KK
2011-01-09 18:30 ` Mulyadi Santosa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D29D0E2.4050805@gmx.us \
--to=nitric.acid@gmx.us \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.