Clang Standard C Library [closed] - c

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm working with an embedded environment that has no operating system or filesystem. I'm looking for a minimal C-library with at least stdio, stdlib and math implementations - though more would be better.
The library will have to be ported as there is definitely no implementation out there for this architecture. The compiler for this architecture uses LLVM, so the library must be able to build with clang.
Can anyone suggest a good candidate? Some I have looked at already:
newlib http://www.sourceware.org/newlib/ (doesn't build with clang AFAIK)
uClibc http://www.uclibc.org/ (doesn't build with clang)
pdclibc http://pdclib.e43.eu/ (no math support)

Related

GCC compiling options for a c program [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
what does the option '-lm' mean when compiling a c program using gcc compiler. Please also mention other options that is included in gcc compiler.Thank you.
-lm links your program against math library, needed on some platforms when you use functions from <math.h>

Any C compiler to run C files? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have got some programs in C which I want to run. I have tried several different compilers such as BorlandC++, Turbo C but they don't seem to compile/run it. Some compilers don't recognize .c file and can only read .cpp files.
Can you please recommend me some C compiler and/or IDE for Windows 8 on which I can run these programs?
Those compilers you are talking about are really old. Try something newer:
Visual studio: http://www.visualstudio.com/downloads/download-visual-studio-vs
Mingw: http://www.mingw.org
Well try the gcc compiler with cygwin. It runs almost everywhere and there are tons of tutorials. I think it's the most used C compiler ever.
http://gcc.gnu.org

Open source ANSI C99 parser? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm interested in playing around with adding some language features on top of C and I'm trying to find a good open source parser that I could fork to play with making grammar changes, but I'm not having any lucky just yet. Does anyone know of a good "standalone" parser that would be amenable to modification in this way?
If you're writing it in Python, you can use pycparser. It's a fully compliant C99 parser licensed under the 3-clause BSD license.

Lite (ansi c 89) os for custom cpu? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
A friend of mine created a 16-bit stack based CPU on an fpga and I've been developing an ANSI C 89 compiler for it. He needs a file system and networking so he's now working on an os for it based on minix, but he's doing it on a pascal based compiler he wrote and it's going to take a while. Ideally we would like to be able to use our C compiler to build the minix source in it's entirety but I am a few weeks away from finishing the compiler and I'm sure it will be a while before it's up to the task. I would like to know if anyone has had any success porting minix to a custom CPU and what we should look out for, or if there are any alternative open source os's that are lightweight that we should be considering. Keep in mind that this is a custom c compiler so I don't offer any of gcc's toolchain bells and whistles.

What are some common C libraries in Linux to use a CD burning device? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am interested in creating software that uses a CD burning device. I will be writing this code in C under Linux and compiling using GCC.
libburn as the name suggests ;) (and other friend-libraries from the same site). It's used in brasero (GNOME), xfburn (xfce) and cdw.
And well, that's it. Really, I'm not aware of any more libraries.
In fact, it was more common to wrap command-line cdrecord (from cdrtools or cdrkit) but they never provided a shared library; it was just an old unix practice on running external executables (and then parsing their output, ugly). AFAIK it's still used in k3b and a few minor tools but the general trend is migration towards libburn.

Resources