From: Andreas K. <andreask@ActiveState.com> - 2003-06-10 21:09:33
|
> -----Original Message----- > From: tcl...@li... > [mailto:tcl...@li...]On Behalf Of David N. > Welton > Sent: Tuesday, June 10, 2003 3:55 AM > To: Tcl Core List > Subject: Re: [TCLCORE] TIP #59 > > > "Donal K. Fellows" <don...@ma...> writes: > > > I see that TIP#59 "Embed Build Information in Tcl Binary Library" is > > making its way into the core now. > > Yay! Thanks Andreas. > > Now... what is the path from what you have just done to being able to > do something like: > > exec [$::tcl::pkgconfig get compiler] foo.c Quite long actually. This is something I actually explicitly excluded from #59 to get not mired in discussions how to get this done (what is the best interface, what to info is needed, x-platform abilities, etc). I have a lot of mails from the discussions of the pre-draft and could try to go through that and condense them into something to start discussing. Bottom up: Define what information we need for the various platforms (= <os,compiler> combinations), also define how this information has to be assembled for a working call to a compiler, linker, etc. This is the platform specific part. Top down: Define the x-platform interface you want to see and use, then see how we can fit the platforms into this. This should be designed with x-platform in mind. Related: critcl, calling out to gcc, and Arjen Markus working getting this to work for Fortran. IIRC Reinhard Max trying to get it working for tcc also. This is a different project which can use the hypothetical interface we are talking about here, and we might be able to use their experience with calling out to compilers as base for our design. -- Andreas Kupries <andreask@ActiveState.com> Developer @ http://www.ActiveState.com Join the community at the 10th Tcl conference http://wiki.tcl.tk/6274 |