Thread: [Dev-C++] Compiling C source with GCC in Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Juan J. C. L. <jua...@ya...> - 2004-01-21 18:41:19
|
Hello, I am using a special library compiled in Cygwin. I have to type a = special command line for compiling a program, the command line is: # gcc $(libvncserver-config --cflags) -o main main.c = $(libvncserver-config --libs) The problem is that I don't know how to include this command line inside = Dev-C++, I mean, I want to use Dev-C++ for developing the app and debug = it. Thanks for your help. Juan |
From: Michal M. <mi...@mo...> - 2004-01-21 19:13:11
|
Juan Jose Costello Levien wrote: > Hello, > I am using a special library compiled in Cygwin. I have to type a > special command line for compiling a program, the command line is: > > # gcc $(libvncserver-config --cflags) -o main main.c > $(libvncserver-config --libs) > The problem is that I don't know how to include this command line inside > Dev-C++, I mean, I want to use Dev-C++ for developing the app and debug it. > Thanks for your help. > > Juan if you are using dev-c++ with cygwin simply run in the cygwin shell libvncserver-config --cflags and grab the output and put it to Compiler editbox on the Project Options\Parameters tab and then libvncserver-config --libs and put the output to Linker editbox if you want use dev-c++ with mingw you will have to translate the things like -I/usr/include to windows paths |
From: Juan J. C. L. <jua...@ya...> - 2004-01-21 23:00:01
|
Ok, I have done your tip, but Dev-C++ reports this: "unrecognized option -fdollar-in-identifiers" I don't know what is this about... maybe a bug in Dev-C++? CYou Juan > if you are using dev-c++ with cygwin simply run in the cygwin shell > libvncserver-config --cflags > and grab the output and put it to Compiler editbox on the Project > Options\Parameters tab and then > libvncserver-config --libs > and put the output to Linker editbox > > if you want use dev-c++ with mingw you will have to translate the things > like -I/usr/include to windows paths > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
From: Scott S. <age...@co...> - 2004-01-22 00:44:26
|
Juan Jose Costello Levien wrote: >Ok, I have done your tip, but Dev-C++ reports this: > >"unrecognized option -fdollar-in-identifiers" > >I don't know what is this about... maybe a bug in Dev-C++? > >CYou > >Juan > > > > > > >>if you are using dev-c++ with cygwin simply run in the cygwin shell >>libvncserver-config --cflags >>and grab the output and put it to Compiler editbox on the Project >>Options\Parameters tab and then >>libvncserver-config --libs >>and put the output to Linker editbox >> >>if you want use dev-c++ with mingw you will have to translate the things >>like -I/usr/include to windows paths >> >> >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by EclipseCon 2004 >>Premiere Conference on Open Tools Development and Integration >>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >>http://www.eclipsecon.org/osdn >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >> >> > > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > You don't have the $ sign in identifiers option checked in compiler options. |
From: Juan J. C. L. <jua...@ya...> - 2004-01-22 01:46:31
|
Hello, Finally, the source compiled Ok. But when I tried to use the debug = feature of Dev-C++, the blue cursor doesn't appear in the code. I = compiled the source with the "Generate debugging information" option, = and the parameters -g and -gcoff in the compiler options, and doesn't do = the job. Maybe there is a trick, or the like... Thanks in advance. Juan ----- Original Message -----=20 From: Scott Simontis=20 To: Juan Jose Costello Levien ; dev...@li...=20 Sent: Wednesday, January 21, 2004 9:44 PM Subject: Re: [Dev-C++] Compiling C source with GCC in Dev-C++ Juan Jose Costello Levien wrote:=20 Ok, I have done your tip, but Dev-C++ reports this: "unrecognized option -fdollar-in-identifiers" I don't know what is this about... maybe a bug in Dev-C++? CYou Juan =20 if you are using dev-c++ with cygwin simply run in the cygwin shell libvncserver-config --cflags and grab the output and put it to Compiler editbox on the Project Options\Parameters tab and then libvncserver-config --libs and put the output to Linker editbox if you want use dev-c++ with mingw you will have to translate the things like -I/usr/include to windows paths ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =20 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =20 You don't have the $ sign in identifiers option checked in compiler = options. |
From: Scott S. <age...@co...> - 2004-01-21 22:48:14
|
Juan Jose Costello Levien wrote: > Hello, > I am using a special library compiled in Cygwin. I have to type a > special command line for compiling a program, the command line is: > > # gcc $(libvncserver-config --cflags) -o main main.c > $(libvncserver-config --libs) > The problem is that I don't know how to include this command line > inside Dev-C++, I mean, I want to use Dev-C++ for developing the app > and debug it. > Thanks for your help. > > Juan You can do two things: 1. Compile from the command line 2. Compiler Settings in the Tools menu |