help me with linux 0.01?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
yan

help me with linux 0.01?

Post by yan »

sorry,sirs:

now i have a trouble with linux source 0.01.
i can't compile it into image file in windows 2000 with djgpp.
i used:
C:\linux>make
gas -c -o boot/head.o boot/head.s
make.exe: *** [boot/head.o] Error -1
anyone to help?
Xeon

Re:help me with linux 0.01?

Post by Xeon »

You don't have the gas program.

Don't try to compile it, it's probably near impossible to compile in a more compete Unix-type environment such as Cygwin.
yan

Re:help me with linux 0.01?

Post by yan »

and what mean by the error message:
C:\linux>make
gas -c -o boot/head.o boot/head.s
make.exe: *** [boot/head.o] Error -1
yan

Re:help me with linux 0.01?

Post by yan »

sir,sorry for trouble u again
when i tried in cygwin,i got the same result,anything wrong?

$ make
gas -c -o boot/head.o boot/head.s
make.exe: *** [boot/head.o] Error -1
Tim

Re:help me with linux 0.01?

Post by Tim »

Cygwin uses as, not gas. The program is the same, just the name is different.
yan

Re:help me with linux 0.01?

Post by yan »

any other methods to compile linux 0.01 under windows 2000?
please tell me sir.

thank Xeon!
thank Tim Robinson!
Tim

Re:help me with linux 0.01?

Post by Tim »

Well... as I said, Cygwin includes gas but calls it as. It's the same program, just called a different name. If you refer to it by a different name, you'll get the same program.

Is that clear enough?
Whatever5k

Re:help me with linux 0.01?

Post by Whatever5k »

The problem with compiling and linking the linux-0.01 source is, that is really out of date. as will not be happy with what Linus has written some time ago. So you probably need to get an old version of gas/as, too - which is indeed bothering.
yan

Re:help me with linux 0.01?

Post by yan »

sir Tim Robinson,

thanks very much.

i did find as.exe at C:\djgpp\bin(but not in C:\cygwin\bin neither gas),then i rename it to gas.exe.later,i ran 'make' at C:\linux again,and had a result:
*gas -c -o boot/head.o boot/head.s
*C:\djgpp\bin/gas.exe: unrecognized option `-c'
*make.exe: *** [boot/head.o] Error 1
why djgpp's as/or gas didn't have '-c' option?and another way next?
Whatever5k

Re:help me with linux 0.01?

Post by Whatever5k »

Have a look at my previous post: you probably need to get an old version of as/gas to compile the linux-0.01 source.
Curufir

Re:help me with linux 0.01?

Post by Curufir »

Actually that version of Linux gets compiled with tools from the orginal Minix. IIRC it also requires a partition with the original Minix filesystem.

To get it to compile with a modern version of gcc/gas you'd essentially have to alter most of it. Far better to use it as a reference than try to compile it.
yan

Re:help me with linux 0.01?

Post by yan »

thank abless!
thank Curufir!

i wonder
if i want to study os and i want to choose linux source as my target,i've a win2000 system,
what edition(the source should be few,so i wanna a lower edition,but i don't know which edition is fit) of linux source i can take(i mean i wanna to choose djgpp as compiler,but i don't know if it's possible)?

my English is not as good as u think,sorry for it.
thanks!
Post Reply