Re: C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib32\libmingw32.a(lib32_libmingw32_a-crt0_c.o) In function `main': 18 C:\crossdev\src\mingw-w64-v3-git\mingw-w64-crt\crt\crt0_c.c undefin

2020-08-13 Thread Jonathan Wakely via Gcc
This is the wrong mailing list for your question, please read https://gcc.gnu.org/lists.html (and don't put your entire email in the Subject: line please). The MinGW compiler can be used to create console applications or GUI applications. The default is -mconsole, which means the linker looks for

C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib32\libmingw32.a(lib32_libmingw32_a-crt0_c.o) In function `main': 18 C:\crossdev\src\mingw-w64-v3-git\mingw-w64-crt\crt\crt0_c.c undefined r

2020-08-12 Thread Partha paul via Gcc

Re: C program

2018-02-04 Thread Jonathan Wakely
On 4 February 2018 at 14:34, Rakshitha H wrote: > In my laptop,it shows gcc is not recognized as internal or external command Then you probably need to install it. https://gcc.gnu.org/wiki/InstallingGCC

C program

2018-02-04 Thread Rakshitha H
In my laptop,it shows gcc is not recognized as internal or external command

Re: Calling compiler from C program...

2012-11-08 Thread Basile Starynkevitch
from some internal representation. > Now I wonder if this is possible with gcc. Is there a > documented/stable interface for compiling snippets of C code > programatically from inside a C program? If not, how much work would > it involve? Would it be possible to do certain initialisation st

Calling compiler from C program...

2012-11-08 Thread Johann Klammer
Hello, Some compilers feature function call interfaces for on-the-fly compilation (C# and lcc). Now I wonder if this is possible with gcc. Is there a documented/stable interface for compiling snippets of C code programatically from inside a C program? If not, how much work would it involve

[AVR,Committed]: Re: How to run a compiled C program?

2012-05-29 Thread Georg-Johann Lay
Ian Lance Taylor wrote: > Georg-Johann Lay writes: > >> The avr backend auto-generates a part of the texi documentation by >> means of a small C program. The relevant part of t-avr reads: >> >> s-avr-mmcu-texi: gen-avr-mmcu-texi$(build_exeext) >> $(

Re: How to run a compiled C program?

2012-05-26 Thread Ian Lance Taylor
Georg-Johann Lay writes: > The avr backend auto-generates a part of the texi documentation by > means of a small C program. The relevant part of t-avr reads: > > s-avr-mmcu-texi: gen-avr-mmcu-texi$(build_exeext) > $(RUN_GEN) $< | sed -e 's:\r::g' > avr-mmcu

How to run a compiled C program?

2012-05-26 Thread Georg-Johann Lay
The avr backend auto-generates a part of the texi documentation by means of a small C program. The relevant part of t-avr reads: s-avr-mmcu-texi: gen-avr-mmcu-texi$(build_exeext) $(RUN_GEN) $< | sed -e 's:\r::g' > avr-mmcu.texi There was a problem report that the exec

Re: GCC: Linking C program with callback-functions

2006-07-20 Thread Mike Stump
On Jul 20, 2006, at 2:55 PM, [EMAIL PROTECTED] wrote: I have a C program that I need to compile This is the wrong list for such question.

GCC: Linking C program with callback-functions

2006-07-20 Thread shadow
Hey, guyz. I have a C program that I need to compile using gcc. The problem is that there are many callback-functions in the code. And when I try to do that, the code compiles Ok, but it doesn't link crashing with 'undefined refence' exception. Any ideas how to avoid that? Tnx.

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-16 Thread Paul Albrecht
William Beebe writes: > >... If you want what LXR provides (and yes, I looked it up) then get Doxygen > Not only does Doxygen not meet my requirements, but also it doesn't make much sense to me for each cross-reference tool to implement its own source code parser and symbol database when the

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-16 Thread Carlo Corridore
Or probably using sourcenav software from sourcenav.sourceforge.net Daniel Berlin wrote: On Fri, 2005-05-13 at 14:49 -0500, Paul Albrecht wrote: Eric writes: -Wl,-Map=mapfile.map,--cref I'm not looking for a cross-reference from a symbol to its memory location in linked file, rather a cross-refere

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-15 Thread William Beebe
m the compiler because I want to write > a source code browser like LXR. That's why I asked the question. Again, is > there a way to generate a cross-reference listing for a c/c++ program using > gcc? If not, the has anyone considered adding a gcc compiler option to > output cross-reference information? > >

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-15 Thread Paul Albrecht
estion. Again, is there a way to generate a cross-reference listing for a c/c++ program using gcc? If not, the has anyone considered adding a gcc compiler option to output cross-reference information?

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-13 Thread William Beebe
current Linux distributions. On 5/13/05, Paul Albrecht <[EMAIL PROTECTED]> wrote: > Is there a way to generate a cross reference listing for a c/c++ program > using gcc? > >

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-13 Thread Daniel Berlin
On Fri, 2005-05-13 at 14:49 -0500, Paul Albrecht wrote: > Eric writes: > > > > > -Wl,-Map=mapfile.map,--cref > > > > I'm not looking for a cross-reference from a symbol to its memory location > in linked file, rather a cross-reference from a symbol definition in a > program source file to its lin

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-13 Thread Paul Albrecht
Eric writes: > > -Wl,-Map=mapfile.map,--cref > I'm not looking for a cross-reference from a symbol to its memory location in linked file, rather a cross-reference from a symbol definition in a program source file to its line number references in all the program source files.

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-13 Thread E. Weddington
Paul Albrecht wrote: Is there a way to generate a cross reference listing for a c/c++ program using gcc? -Wl,-Map=mapfile.map,--cref Docs for -Wl option: <http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Link-Options.html#Link-Options> Docs for linker options (-Map, --cref): <http://sourc

Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-13 Thread Paul Albrecht
Is there a way to generate a cross reference listing for a c/c++ program using gcc?

ANSI Colors in a C program under Linux...

2000-07-03 Thread Hendrix
Hi folks, I recently noticed that the command line 'linuxconf' program has text-based colors in its interface... How would it be possible for me to utilize these colors in my own C, or C++, program? I remember doing this with ANSI colors back when I used to run my own PCBoard from