March 13, 2005
On Sun, 13 Mar 2005 22:01:53 +0100, G.Vidal wrote:

> Le Sun, 13 Mar 2005 10:32:15 +1100, Derek Parnell a écrit :
> 
>> On Sat, 12 Mar 2005 17:48:17 +0100, G.Vidal wrote:
>> 
>>> Question to Derek:
>>> 
>>> If a project's using both D and C sources that must be linked together,
>>> could Build handle the C files and call gcc to compile them ?
>>> Would be cool.
>>> 
>>> maybe it could parse a pragma(csource,module.c) or something ?
>> 
>> I'll add it to the TODO list, but its not looking good. I don't really know gcc, nor do I think I should hard code any gcc stuff in to build. But for now, its on the radar, okay?
> 
> Nevermind. I'll use Make instead.
> It'll call gcc, dmd, and all my plugins. With dmd's pragma(lib,"") I don't
> need build no more.

No worries. Of course, if I had your problem I'd think about converting the C sources to D ;-)

-- 
Derek Parnell
Melbourne, Australia
14/03/2005 8:28:35 AM
March 14, 2005
G.Vidal wrote:
> Question to Derek:
> 
> If a project's using both D and C sources that must be linked together,
> could Build handle the C files and call gcc to compile them ?
> Would be cool.
> 
> maybe it could parse a pragma(csource,module.c) or something ?
> 

Or dmc if version=DigitalMars.

_______________________
Carlos Santander Bernal
March 14, 2005
> No worries. Of course, if I had your problem I'd think about converting the C sources to D ;-)

Sure I should. Go see the "Lemon parser generator" thread to see what i'm talking about..

1 2
Next ›   Last »