I hate to begin my account on this forum asking for help, but here goes anyway.
I've been following along the beginners tutorials. First came the barebones which I compiled and modified without a hitch. Now I'm on the Meaty Skeleton tutorial and I'm having some trouble with building the provided tutorial. Unless I'm mistaken, the code provided in the tutorial should be enough to compile and display a short message on the screen. I'm running into some trouble with regards to building libc.a. When I run build.sh I eventually run into the following error:
Code: Select all
blah blah compiling...
make: *** No rule to make target '\', needed by 'libc.a'. Stop.
make: Leaving directory '/home/daniel/documents/Programming/OSDev/dosdos/libc'
At first, I thought the issue was an accidental typo on my part in libc's Makefile, but I've checked and rechecked and copy-pasted from the wiki.
Then I thought that maybe a file was in the wrong place. At the bottom of this post is a layout of my project's directories and files. As far as I can tell, they are identically laid out to those in the tutorial (With the exception of the GPL Licensing folder I've added).
If it makes any difference, I'm running 64 bit Arch Linux with GNU Make version 4.1
Could anyone help me with this?
Code: Select all
.
├── build.sh
├── clean.sh
├── config.sh
├── default-host.sh
├── headers.sh
├── iso.sh
├── kernel
│ ├── arch
│ │ └── i386
│ │ ├── boot.S
│ │ ├── crti.S
│ │ ├── ctrn.S
│ │ ├── linker.ld
│ │ ├── make.config
│ │ └── tty.c
│ ├── include
│ │ └── kernel
│ │ ├── tty.h
│ │ └── vga.h
│ ├── kernel
│ │ └── kernel.c
│ └── Makefile
├── libc
│ ├── arch
│ │ └── i386
│ │ └── make.config
│ ├── include
│ │ ├── stdio.h
│ │ ├── stdlib.h
│ │ ├── string.h
│ │ └── sys
│ │ └── cdefs.h
│ ├── Makefile
│ ├── stdio
│ │ ├── printf.c
│ │ ├── putchar.c
│ │ └── puts.c
│ ├── stdlib
│ │ └── abort.c
│ └── string
│ ├── memcmp.c
│ ├── memcpy.c
│ ├── memmove.c
│ ├── memset.c
│ └── strlen.c
├── license
│ ├── COPYING.txt
│ └── GPL Header.txt
├── qemu.sh
└── target-triplet-to-arch.sh
15 Directories, 35 Files