Any C compiler to run C files? [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 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

Related

Clang Standard C Library [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'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)

Visual studio the only IDE for C programming? [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 looking for an IDE with compiler to work on C language on Windows 7. It must be the c99 ANSI standard(not quite sure what this means).
I've been looking through several questions on this site and it appears Visual Studio is the only IDE available out there. Can anyone confirm/deny this?
I've been using the MinGW compilers to compile .c files and it seemed to work just fine. It would just be awesome to have an eclipse/netbeans layout for C programming too but I guess that doesn't exist.
Thanks for your time
Both Netbeans and Eclipse support C development.
They just don't contain a compiler (or debugger) in their installation packages
so they both require installation of a compiler (mainly cygwin or mingw -that you already use- )
Setup instructions:
netbeans.org/community/releases/74/cpp-setup-instructions.html
help.eclipse.org/help33/index.jsp?topic=/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm
You can use Dev-C++
orwell devc++

Using the C Preprocessor for code cleanup [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 have a large, legacy C code base to look at, and there are lots of #ifdefs and #ifndefs throughout the code, mostly to maintain backwards compatibility with environments and operating systems that now no longer exist.
Is there any preprocessor-like tool that I could run this code through, that would take in all these C (mainly .c and .h, some .cpp etc) code and output set of source files getting rid of those blocks of code that would otherwise never be relevant? That would certainly make browsing the code easier for me, in addition to, perhaps cleaning it up in the in the long run.
You can use coan for this. Read the "About" page and the man page.
The spin command can output your cleaned up sources under a directory of your
choice.

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