Re: Compile Problems
"Jigar Suthar" <[email protected]> Thu, 24 Apr 2003 23:29:59 -0000
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
> (for object files) > gcc -c -Wall -g -mms-bitfields -I/c/helloworld `pkg-config glib-2.0 gdk-2.0 gtk+-2.0 libglade-2.0 --cflags` helloworld.c -o Win32MinGW/helloworld.o What do I need to change in the above command line so it works on my base.c file. Does the "c" in "-I/c/helloworld" stand for the drive letter? If so, would /c/helloworld be the full path to the helloworld file? What does "Win32MinGW/helloworld.o" mean? Save the file there? > (for linking) > gcc -o Win32MinGW/helloworld Win32MinGW/helloworld.o > -L/c/somelibrary -mwindows > `pkg-config glib-2.0 gdk-2.0 gtk+-2.0 libglade-2.0 --libs` -lgdi32 I'm assuming here that helloworld is the executable for the helloworld.c file since executables in Linux don't have .exe extentions. What does "-L/c/somelibrary" need to be changed to? - Thanks, Jigar Suthar.