Re: Problem using windres

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I managed to figure this out.  (I think.)  I'm compelled to post it
since I had such a hard time and could find the answer I needed in a couple
days of searching.

Can't compile & link in one step.  I was trying to use:  gcc prog7.c
resource.coff -I.
Couldn't make it work.
This does:

windres resource.rc resource.coff
gcc -c prog7.c -o prog7.o -I.
gcc prog7.o resource.coff -I.

Here's the makefile:

prog7.exe : prog7.o resource.coff
	gcc  prog7.o resource.coff -I. 

resource.coff : resource.rc 
	windres resource.rc resource.coff  

prog7.o : prog7.c
	gcc -c prog7.c -o prog7.o -I.

Please forgive my inelegant post; haven't figured out how to put the code in
those nice little scroll boxes others use.  (currently the least of my
problems!)




--
View this message in context: http://gcc.1065356.n5.nabble.com/Problem-using-windres-tp1009189p1009401.html
Sent from the gcc - Help mailing list archive at Nabble.com.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux