Eclipse is just the IDE, it has nothing to do with the compilation - it just calls the compiler and displays the results. You therefore need to use an Eclipse distribution that has the compiler included, or install the compiler separately. Note the instructions you are following is for (I think) Eclipse Europa, which is very different to the latest Eclipse releases.
“However, I'm now having 2 compilation errors for file syscalls.c,”
I don't understand how you are getting compiler errors if you don't have the compiler installed? I suspect you are seeing some sort of annoying parsing of the code done by Eclipse itself. I have heard that newer versions of Eclipse do this and spit out all sorts of spurious errors - if this is the case just turn that feature off in Eclipse.
“1) Assignment to itself 'r = r', etc. (A lot of "Assignment to itself" errors.)”
That syscalls file is a third party file, and looking at this, I think it is just a crude way of preventing the compiler warning that r is not used. You can replace it with ( void ) r; for a better method or doing the same thing.
“2) Symbol 'caddr_t' could not be resolved”
Presumably this is just because you are not actually compiling the code, and this is an Eclipse spurious error.
You will have to use a GCC version that requires syscalls.c. If, once the compiler is installed, you get "multiple definitions of" errors then you can remove the syscalls file.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.