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
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
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]
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
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:
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