Re:Show HN: Very basic Unix-like operating system built when...
by FreeFull on Tuesday September 03, 2013 @10:26AM
(#6321136)
I'm having trouble compiling this.
[ Parent
| on HN ]
Re:Show HN: Very basic Unix-like operating system built when...
by GaveUp on Tuesday September 03, 2013 @10:34AM
(#6321183)
I haven't tried myself but it looks like a casing issue. All the makefiles have a lower case m. I'd suspect correcting that would do that trick.
Re:Show HN: Very basic Unix-like operating system built when...
by FreeFull on Tuesday September 03, 2013 @12:34PM
(#6321896)
Thinking about this, this is a casing issue after all. The makefiles include Makefile rather than makefile
Re:Show HN: Very basic Unix-like operating system built when...
by FreeFull on Tuesday September 03, 2013 @11:48AM
(#6321599)
make looks for both Makefile and makefile, but those directories don't have any makefiles at all.
Re:Show HN: Very basic Unix-like operating system built when...
by GaveUp on Tuesday September 03, 2013 @12:34PM
(#6321901)
Well, on my system (Ubuntu) at least this is not the case and renaming the files gets past the errors and on to actual build errors:
runtime/cxx.cc:74:41: error: ‘operator new’ takes type ‘size_t’ (‘unsigned int’) as first parameter [-fpermissive]
runtime/cxx.cc:84:43: error: ‘operator new’ takes type ‘size_t’ (‘unsigned int’) as first parameter [-fpermissive]
make[1]: *** [runtime/cxx.o] Error 1
Re:Show HN: Very basic Unix-like operating system built when...
by FreeFull on Tuesday September 03, 2013 @12:54PM
(#6322050)
After renaming the Makefiles to fix the case, running make clean and then make all, I get the same error.
Re:Show HN: Very basic Unix-like operating system built when...
by mtdewcmu on Tuesday September 03, 2013 @12:22PM
(#6321816)
Is there a configure script or cmake or something? It looks like you might have to do something before `make all`
Re:Show HN: Very basic Unix-like operating system built when...
by FreeFull on Tuesday September 03, 2013 @12:31PM
(#6321881)
Nope, just a top level makefile and a readme that says to compile you only need to
make all
Re:Show HN: Very basic Unix-like operating system built when...
by mtdewcmu on Tuesday September 03, 2013 @12:42PM
(#6321948)
make looks for [Mm]akefile if you run it with no arguments, but here it's being run recursively (or included). On OSX, filenames are case-insensitive, which could be a possible reason why it works for some people. On Linux, filenames are case sensitive.
Re:Show HN: Very basic Unix-like operating system built when...
by FreeFull on Tuesday September 03, 2013 @12:57PM
(#6322067)
That seems to be the case, since running file on one of the existing .o files says that they are Mach-O i386 objects. The readme doesn't mention OS X though, only Ubuntu