42sh/README.md

43 lines
800 B
Markdown
Raw Permalink Normal View History

# 42sh - A POSIX shell with a bad name
2026-01-06 16:34:08 +01:00
42sh is a shcool project aiming to implement a POSIX compliant shell in C.
2026-01-06 16:34:08 +01:00
## Getting started
TODO
2026-01-06 16:34:08 +01:00
### Build
run this command:
`autoreconf --force --verbose --install`
### Test
run this command:
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla'`
then:
`make`
#### asan
run this command:
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla -g -fsanitize=address'`
or for MacOS (Jean Here):
`./configure CFLAGS='-std=c99 -Werror -Wall -Wextra -Wvla -I/opt/homebrew/include' LDFLAGS='-L/opt/homebrew/lib'`
then:
`make check`
2026-01-06 16:34:08 +01:00
## Authors
2026-01-06 16:34:08 +01:00
- Matteo Flebus
- Jean Herail
- William Valenduc
- Guillem George
2026-01-06 16:34:08 +01:00
## Project status
WIP
2026-01-07 17:38:54 +01:00
## TODO
# Autotools
implement functions in all .c files to see if everything compiles.