Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made cluido work again #41

Merged
merged 37 commits into from Jun 8, 2015
Merged

Made cluido work again #41

merged 37 commits into from Jun 8, 2015

Conversation

perlun
Copy link
Contributor

@perlun perlun commented May 29, 2015

No description provided.

perlun added 27 commits May 23, 2015 01:25
We should probably add the latter elsewhere also. It makes signed char and char pointers be able to be used interchangeably.
Apparently, multi-line strings were a C extension that gcc *used* to support, but it was removed as of gcc 3.3.

References:

- lwn.net: https://lwn.net/Articles/33227/ (GCC 3.3 released)
- gnu.org: https://www.gnu.org/software/gcc/gcc-3.3/changes.html (GCC 3.3 Release Series - Changes, New Features, and Fixes)
The code didn't even compile. I found it now by accident, when updating the cluido app to use the Rake-based compilation pipeline.
There are still parts of this file that are very far from compiling; leaving them for the time being.
Without it, gcc gives a warning saying that the method might be a candidate for __attribute__((noreturn)). With it, it gives instead a warning saying that the method does return (which is untrue in this case). So Incredibly Stupid...
@perlun
Copy link
Contributor Author

perlun commented May 29, 2015

I think this is as far as I get with this now. All C files in cluido now compiles successfully, but the linking fails because of a number of missing libraries. Will continue with that part in a separate PR; it's entirely separate from this issue.

It is needed, even though list.c is probably not used.
We could change the kernel now also, since the issue with crosscompiling etc. isn't really relevant any more (since we use Vagrant instead, which is a much better choice).
Eventually, they should be copied into the ramdisk instead.
@perlun
Copy link
Contributor Author

perlun commented May 30, 2015

It's now booting, but I get an infinite loop when entering a command, and eventually out of memory:

image

Very unclear why, but hopefully easy to fix. Will look into it some other day.

@perlun perlun changed the title WIP: make cluido work again Made cluido work again Jun 8, 2015
perlun added a commit that referenced this pull request Jun 8, 2015
@perlun perlun merged commit a0ec190 into master Jun 8, 2015
@perlun perlun deleted the feature/make-cluido-work-again branch June 8, 2015 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant