Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/cznic/99c

Command 99c is a c99 compiler targeting a virtual machine. Output of 99c -h Rest of the input is a list of file names, either C (.c) files or object (.o, .a) files. To install or update the compiler and the virtual machine To update the toolchain and rebuild all commands Use the -x flag to view the commands executed. Online documentation: http://godoc.org/github.com/cznic/99c 2017-10-19: Handle ar files (.a). 2017-10-18: Executables should be from now on no more tied to a single compatibility number but to a minimal compatibility number. No more permanent recompiling of everything. 2017-10-18: Initial support for using C packages. 2017-10-18: The -g flag is no more ignored. Add the -g flag to have the symbol and line information included in the executable. Without using -g some tools may not work and stack traces will not be really useful. The advantage of not including the additional info by default are substantially smaller executables. 2017-10-07: Initial public release. See: https://godoc.org/github.com/cznic/ccir#hdr-Supported_platforms_and_architectures At the time of this writing, in GOOS_GOARCH form Porting to other platforms/architectures is considered not difficult. Both the compiler and the C runtime library implementation are known to be incomplete. Missing pieces are added as needed. Please fill an issue when you run into problems and be patient. Only limited resources can be allocated to this project and to the related parts of the tool chain. Also, contributions are welcome. Running a binary on Linux Running a binary on Windows All in just a single C file. If the output is a single file, use -o to set its name. (POSIX option) Use -E to produce the cpp results. (POSIX option) A translation unit may consist of multiple source files. Use -c to output object files. (POSIX otion) If the program source(s) are available at the same location(s) as when the program was compiled, then any stack trace produced is annotated using the source code lines. Command line arguments are passed the standard way. This example requires installation of additional tools It's possible to call individual C functions from Go. This example requires installation of additional tools It's possible to load C plugins at run-time. Use the -D flag to define additional macros on the command line. The -I flag defines additional include files search path(s). To use a C package with programs compiled by 99c it's necessary to install a 99c version of the package. The lib directory contains some such installers. For example or equivalently will install the 99c version of libxcb on your system in '$HOME/.99c'. Currently supported only on Linux. A bare bones example, currently supported only on Linux. This example will show a small 150x150 pixel window in the top left corner of the screen. The window content is not handled by this example, but it can be moved, resized and closed.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/cznic/99c
License: BSD-3-Clause
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/cznic
Stars: 186 on GitHub
Forks: 5 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

    Loading...
    Readme
    Loading...