Page 1 of 1

Meaty Skeleton whitespace

Posted: Sat Sep 27, 2014 2:15 am
by sham1
So yeah. I tried to make my start with my OS using the Meaty Skeleton-tutorial. But, when I try to compile the kernel, this happens: http://pastebin.com/nst9Mt8G.

Lets just say that it is really annoying, when I cant seem to find the right backslash to remove.

Re: About those meaty bones

Posted: Sat Sep 27, 2014 3:38 am
by b.zaar
Jiias wrote:Lets just say that it is really annoying, when I cant seem to find the right backslash to remove.
Just a quick guess...

The ARCH_HOSTEDOBJS is empty, maybe rem this from the 2nd parameter under OBJS in libc/Makefile

Code: Select all

HOSTEDOBJS:=\
$(ARCH_HOSTEDOBJS) \

OBJS:=\
$(FREEOBJS) \
$(HOSTEDOBJS) \
to

Code: Select all

HOSTEDOBJS:=\
$(ARCH_HOSTEDOBJS) \

OBJS:=\
$(FREEOBJS) \
#$(HOSTEDOBJS) \

Re: About those meaty bones

Posted: Sat Sep 27, 2014 6:21 am
by sortie
The issue turned out to be that his editor didn't properly terminate the last line with a \n character. Unix lines are terminated, not separated, so any begun line must end in a \n character.

Additionally, he didn't catch that copying directly from the rendered wiki caused blank lines to be replaced with a single space.