Add 1996/schweikh1/try.sh
This commit is contained in:
1 parent
1de404c42b
commit
e88b19a307
3 files changed
+33
-4
No files matched your search
+3
-2
@@ -2173,16 +2173,17 @@ NOTE: if there is no X server running this program will still crash.
|
||||
|
||||
## <a name="1996_schweikh1"></a>[1996/schweikh1](/1996/schweikh1/schweikh1.c) ([README.md](/1996/schweikh1/README.md]))
|
||||
|
||||
[Cody](#cody) added the [try.sh](/1996/schweikh1/try.sh) script.
|
||||
|
||||
The author stated that `-I/usr/include` is needed by gcc in Solaris because
|
||||
`errno.h` has two identical extern declarations of `errno`. That leads to an
|
||||
error due to the redefinition of `main` but the `-I` option makes sure the
|
||||
working `/usr/include/rrno.h` is found first, which shouldn't cause any problems
|
||||
on other systems (the other file is
|
||||
`gcc-lib/sparc-sun-solaris2.5/2.7.2/include/errno.h`). Thus Cody added this to
|
||||
`gcc-lib/sparc-sun-solaris2.5/2.7.2/include/errno.h`). Thus Cody also added this to
|
||||
the Makefile despite the fact that very few probably use Solaris nowadays.
|
||||
|
||||
|
||||
|
||||
## <a name="1996_schweikh2"></a>[1996/schweikh2](/1996/schweikh2/schweikh2.c) ([README.md](/1996/schweikh2/README.md]))
|
||||
|
||||
[Cody](#cody) added the [try.sh](/1996/schweikh2/try.sh) script with a few commands to try
|
||||
|
||||
Reference in new issue
Block a user