Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noteed/tcc
Haskell bindings to the Tiny C Compiler library (libtcc).
https://github.com/noteed/tcc
Last synced: about 2 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 (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2009-02-17T19:51:21.000Z (almost 16 years ago)
- Last Synced: 2023-04-13T10:31:56.738Z (over 1 year ago)
- Language: Haskell
- Homepage:
- Size: 82 KB
- Stars: 4
- Watchers: 4
- 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/