Re: [Tinycc-devel] Using resource files with tcc. How do I do that?

2007-11-24 Thread Knut Flock
KHMan [EMAIL PROTECTED] wrote: Knut Flock wrote: */KHMan /* wrote: Knut Flock wrote: Could you, or someone else, review these commands and tell me where I'm wrong? [code] tcc -c -W1,--oformat,coff test.c rc testRC.rc link /out:test.exe test.o testRC.res [/code] link

Re: [Tinycc-devel] Using resource files with tcc. How do I do that?

2007-11-23 Thread KHMan
Knut Flock wrote: Could you, or someone else, review these commands and tell me where I'm wrong? [code] tcc -c -W1,--oformat,coff test.c rc testRC.rc link /out:test.exe test.o testRC.res [/code] link returns: test.o : fatal error LNK1136: invalid or corrupt file The

Re: [Tinycc-devel] Using resource files with tcc. How do I do that?

2007-11-23 Thread Mike
Doesn't microsoft's link.exe expect object code in the OBJ file format? http://en.wikipedia.org/wiki/Object_code http://en.wikipedia.org/wiki/Relocatable_Object_Module_Format KHMan wrote: Knut Flock wrote: Could you, or someone else, review these commands and tell me where I'm wrong? [code]

Re: [Tinycc-devel] Using resource files with tcc. How do I do that?

2007-11-22 Thread Knut Flock
Thanks to all with constructive answers. I have been looking for LinkRes2Exe but did not spot the link (LinkRes2Exe.zip) at the time. Fred Weigel hinted that I could use the system linker. If someone could giva a quick sample on that it would be greate. Command used to get it

Re: [Tinycc-devel] Using resource files with tcc. How do I do that?

2007-11-20 Thread grischka
From: Knut Flock: For a few days now I have tried to figure out how to use resource files to make a simple windows application with tcc. tcc cannot currently link .res files. However Mike Henning has written a LinkRes2Exe tool that you can use to link .res files to an .exe:

[Tinycc-devel] Using resource files with tcc. How do I do that?

2007-11-18 Thread Knut Flock
For a few days now I have tried to figure out how to use resource files to make a simple windows application with tcc. My last try went like this: [code] tcc -c app.c rc appRC.rc tcc -o app.exe app.o appRC.RES [/code] The last command returned: appRC.RES:1: unrecognized file