tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Re: TCC:cannot find -l"xyz.dll"


From: grischka
Subject: Re: [Tinycc-devel] Re: TCC:cannot find -l"xyz.dll"
Date: Sat, 04 Apr 2009 17:40:37 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

lostgallifreyan wrote:
Still, maybe -rdynamic needs more explanation with TCC. So please feel
free to suggest some addition to the docs, say, one short sentence,
placed to your choice ;)


I can try...
Perhaps somewhere in Quick start section, under the "Here are some examples to understand the logic:" sub heading:
`tcc -shared -rdynamic -o ab.dll a.c b.c'
Compile `a.c' and `b.c', link them together and generate the dynamic library file `ab.dll', making all internal functions available. (Note: Source code likely defines a proper subset but this will work as a starting point to show it working.)

Perhaps followed by `tcc -o c.exe c.c ab.def' Compile `c.c' and link it with `ab.def' as exported when making the DLL (above), and generate the executable that requires that DLL.

As people seem consequently to ignore what's called readme.txt,
meybe we should just get rid of it and have some Windows section
in tcc-doc.html, respectively extend what's already there:
(5.3 PE-i386 file generation)

--- grischka





reply via email to

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