GCC compiling options for a c program [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 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>

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)

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

Control flow graph from executable? [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
Is there a tool available to do so, for x86 programs that is. What I want is for that tool to take the binary executable as an input and show me a control flow graph.
IDA can produce nice control-flow graphs, both for individual functions and the whole program.
You can try out freeware or demo version.
Disclaimer: I work for Hex-Rays.

Where to download the open source language of C? [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
I want to learn how C is interpreted,
anyone knows where to download it?
http://www.thefreecountry.com/compilers/cpp.shtml
I found that in about 10 seconds using Google. You can too.
A good basic compiler suitable for getting an intro to the subject and including sources is tinyc. It is capable of being used in a similar manner as an interpreter, too (unlike GCC et al).
http://gcc.gnu.org/releases.html
Try this:
http://en.wikiversity.org/wiki/C
and this:
http://gcc.gnu.org/

Looking for GD tutorial in C/C++ [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 see a lot of GD tutorials for PHP, even though GD was written in C, not PHP. Could you please suggest any good tutorial for GD in C?
A bit of googling turned up nothing for me either - this is one of those things, for now anyway, that you must study the API reference and make up your own toy test programs.

Resources