Re: build inline program with pp

2012-04-22 Thread Sisyphus
- Original Message - From: "Xiao Yafeng" To: "Sisyphus" Cc: "David Oswald" ; Sent: Sunday, April 22, 2012 3:14 AM Subject: Re: build inline program with pp great update! I've tried and it works very well on my machine! thanks, Rob! You&#x

Re: build inline program with pp

2012-04-21 Thread Xiao Yafeng
great update! I've tried and it works very well on my machine! thanks, Rob! On Sat, Apr 21, 2012 at 9:49 PM, Sisyphus wrote: > Hi all, > > Just uploaded InlineX-C2XS-0.18 to CPAN. > > It contains a utility named 'c2xs'. Give it a try and see what needs doing. > > After installing, run 'c2xs --he

Re: build inline program with pp

2012-04-21 Thread Sisyphus
Hi all, Just uploaded InlineX-C2XS-0.18 to CPAN. It contains a utility named 'c2xs'. Give it a try and see what needs doing. After installing, run 'c2xs --help' for the list of options. Cheers, Rob

Re: build inline program with pp

2012-04-20 Thread David Mertens
"David Oswald" > To: ; "Sisyphus" > Sent: Friday, April 20, 2012 2:15 PM > Subject: Re: build inline program with pp > > > On Thu, Apr 19, 2012 at 7:37 PM, Sisyphus >> wrote: >> >>> >>> - Original Message - From: "X

Re: build inline program with pp

2012-04-20 Thread Sisyphus
- Original Message - From: "David Oswald" To: ; "Sisyphus" Sent: Friday, April 20, 2012 2:15 PM Subject: Re: build inline program with pp On Thu, Apr 19, 2012 at 7:37 PM, Sisyphus wrote: - Original Message - From: "Xiao Yafeng" c2xs

Re: build inline program with pp

2012-04-19 Thread Xiao Yafeng
> > > Would it make sense for the command-line version to exist within the > App:: namespace? App::InlineX::CPP2XS, for example. > > If put under App namespace, I suggest it may be called App::C2XS/ App::CPP2XS, coz it seems not related to Inline, from end user perspective.

Re: build inline program with pp

2012-04-19 Thread David Oswald
On Thu, Apr 19, 2012 at 7:37 PM, Sisyphus wrote: > > - Original Message - From: "Xiao Yafeng" > c2xs --m=XYZ --write_makefile_pl=1 --inc=-I/here -I/there --write_pm=1 > would equate to: > c2xs('XYZ', 'XYZ', '.', {WRITE_MAKEFILE_PL=>1, INC=>'-I/here -I/there', > WRITE_PM=>1}); > > Would t

Re: build inline program with pp

2012-04-19 Thread Xiao Yafeng
On Fri, Apr 20, 2012 at 10:37 AM, Sisyphus wrote: > > - Original Message - From: "Xiao Yafeng" > To: "inline" > Sent: Friday, April 20, 2012 2:16 AM > Subject: Re: build inline program with pp > > > I don't know exactly what problem that

Re: build inline program with pp

2012-04-19 Thread Sisyphus
- Original Message - From: "Xiao Yafeng" To: "inline" Sent: Friday, April 20, 2012 2:16 AM Subject: Re: build inline program with pp well, I decide to translate it into a XS module via C2XS, then "recompile" to a exe by pp to work around. Tha

Re: build inline program with pp

2012-04-19 Thread Xiao Yafeng
well, I decide to translate it into a XS module via C2XS, then "recompile" to a exe by pp to work around. anyways, thanks! BTW: just a thought, can we make c2xs program(not a function) like cpanm does? c2xs --package-name XYZ --module-name XYZ --par-file parfile --source-file etc... it would be

build inline program with pp

2012-04-18 Thread Xiao Yafeng
Hi all, I have a Inline program which have to be built in visual studio environment. how can I wrap it in pp? I mean, I don't want the exe which pp create rebuild C function on other machines.(coz it would fail), just use what I build. Please enlighten me. Thanks.