zavg / linux-0.01

Historically first (actually 0.01) release of linux kernel made by Linus Torvalds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issues with the Makefile

Prakhar-Srivastava opened this issue · comments

@Prakhar-Srivastava could you please be a bit more descriptive?
What does "issues with the Makefile" mean? Do you have the dependencies installed(just default GNU tools should be fine)? Did you modify the makefile or the code? Are you using Windows or Linux? In case of linux, what distro are you using, and what toolchain do you use for compiling? Please, if you want someone to help you explain better your situation.

commented

The thing is that

  • There are dependencies like gld or gas that cannot be found
  • Assembler errors
  • GCC parameters that don't exist

There are dependencies like gld or gas that cannot be found

Install them? If your issue is that the executable names of your toolchain's compiler and assembler are not exactly gld or gas, just symlink them.

Assembler errors

Which errors specifically?

GCC parameters that don't exist

Have you read the comment of the top-level makefile?

#
# Makefile for linux.
# If you don't have '-mstring-insns' in your gcc (and nobody but me has :-)
# remove them from the CFLAGS defines.
#

If there are other parameters that don't exist, please state them here.

There are dependencies like gld or gas that cannot be found

Install them? If your issue is that the executable names of your toolchain's compiler and assembler are not exactly gld or gas, just symlink them.

Yes but we can't install them, they don't exist