https://github.com/noteed/tcc
Haskell bindings to the Tiny C Compiler library (libtcc).
https://github.com/noteed/tcc
Last synced: 4 months ago
JSON representation
Haskell bindings to the Tiny C Compiler library (libtcc).
- Host: GitHub
- URL: https://github.com/noteed/tcc
- Owner: noteed
- License: other
- Created: 2009-02-08T09:55:05.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2009-02-17T19:51:21.000Z (over 16 years ago)
- Last Synced: 2025-01-19T06:11:32.913Z (6 months ago)
- Language: Haskell
- Homepage:
- Size: 82 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Haskell bindings to the Tiny C Compiler library (libtcc).
To use the bindings in ghci, it is necessary to have the
.so version of libtcc. But the source distribution of
TCC doesn't provide one.When building TCC, instead of
> ./configure
> make
> make installyou can use for instance
> ./configure --extra-cflags="-fPIC"
> make
> gcc -shared -Wl,-soname,libtcc.so -o libtcc.so libtcc.o
> make install
> cp libtcc.so /usr/lib/