tinycc-devel
[Top][All Lists]
Advanced

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

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


From: Knut Flock
Subject: Re: [Tinycc-devel] Using resource files with tcc. How do I do that?
Date: Sat, 24 Nov 2007 06:36:32 -0800 (PST)

Fred Weigel's post suggested something like this should work. And I figured that quite possible as several other compilers/languages use MS link.exe to do the linking.
 
As I pointed out the tcc documentation point's out that tcc only makes coff files for a TMS320C67xx. But then again there are claims that tcc (win32) only compiles to  memory.
 
Obviously there could be settings I'm not aware off.
 
Think I settle with then LinkRes2exe method and code only solutions for now..:)
 

Mike <address@hidden> wrote:
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]
>> 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 tcc document page claims (if I understand right) that the tcc
>> command switch -W1,--oformat,coff will create a format only targeting a
>> specific CPU (TMS320C67xx) So it will not help me target a x86 based
>> computer (even if coff is the default MS format)?
>
> On a project with very limited resources like tcc, you should be
> "using the source" first... and most developers are expected to be
> able to handle significant problem-solving tasks on their own...
>
> Please check with the sources, then ping the list. If checking the
> sources is a problem, perhaps you shouldn't be using tcc at all...
>


_______________________________________________
Tinycc-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]