All of lore.kernel.org
 help / color / mirror / Atom feed
* how to compile the 0.01 version of kernel
@ 2011-01-09 15:14 KK
  2011-01-09 16:11 ` Javier Martinez Canillas
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: KK @ 2011-01-09 15:14 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-01-10  4:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-09 15:14 how to compile the 0.01 version of kernel KK
2011-01-09 16:11 ` 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

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.