Get all 1988 entries to compile
For 1988/dale it will not compile under macOS. I was able to get it to almost compile under macOS but there was one problem. As well this 'fix' will make it not compile under linux. One change was required which was changing the #define _ define followed by #_ foo to be just '#define foo' etc. Added to 1988/isaak/.gitignore isaak.output. 1988/spinellis won't compile with clang. 1988/phillipps will compile but it is likely to segfault at least in some systems (maybe not all). Updated many README.md files for the changes above (and probably other changes I've neglected to write in this log). Most changes in the readme files are probably just formatting and probably typos as well as how to compile and run entries nowadays. There might have been other changes.
This commit is contained in:
1 parent
923a1f46d0
commit
a958027ee6
12 files changed
+174
-70
No files matched your search
@@ -1,22 +1,50 @@
|
||||
Best abuse of the rules:
|
||||
## Best abuse of the rules:
|
||||
|
||||
Diomidis Spinellis (currently at Imperial College, London, England)
|
||||
1 Myrsinis Str.
|
||||
GR-145 62 Kifissia
|
||||
GREECE
|
||||
|
||||
How to compile:
|
||||
## To build:
|
||||
|
||||
/lib/cpp spinellis.c > spin.c
|
||||
|
||||
and type the following text followed by an EOF ('^D'):
|
||||
make all
|
||||
|
||||
and then type a C program into followed by EOF two times (`^D^D`).
|
||||
|
||||
NOTE: this entry will not compile with clang. Also be advised that gcc in macOS
|
||||
is actually clang so this will not work even with the default compiler in macOS.
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
make clobber all
|
||||
main()
|
||||
{
|
||||
printf("Hello world\n");
|
||||
}
|
||||
^D
|
||||
^D
|
||||
./spinellis
|
||||
|
||||
The author says:
|
||||
make clobber all
|
||||
int main()
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < 5; ++i)
|
||||
printf("%d\n", i);
|
||||
}
|
||||
^D
|
||||
^D
|
||||
./spinellis
|
||||
|
||||
|
||||
## Judges' comments
|
||||
|
||||
We enjoyed this entry this year, however in the future programs must be able to
|
||||
be compiled from within a Makefile without the need of human intervention.
|
||||
|
||||
The author originally wrote:
|
||||
|
||||
This program can be configured to do almost everything.
|
||||
The configuration is done during compile time by typing
|
||||
@@ -25,9 +53,7 @@ The author says:
|
||||
but the possibilities are clearly limited only by your
|
||||
imagination and programming skills.
|
||||
|
||||
FYI: We enjoyed this entry this year, however in the future programs
|
||||
must be able to be compiled from within a makefile without the
|
||||
need of human intervention.
|
||||
|
||||
|
||||
Copyright (c) 1988, Landon Curt Noll & Larry Bassel.
|
||||
All Rights Reserved. Permission for personal, educational or non-profit use is
|
||||
|
||||
Reference in new issue
Block a user