[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Using extconf.rb for executables?

Josef 'Jupp' Schugt

11/28/2003 2:18:00 PM

Hi!

I recently had an efficency problem with a small tool to be used with
a Ruby program. To improve efficency I did re-write the tool in C.
That immediately brought up the question if one can use exconf.rb not
only to create libraries but also for executables.

I didn't find any hint concerning that question. Is it possilble?
How? Wouldn't it be nice if it *were* possible? Is there an
alternative? I know that autoconf & Co. exist but they require tools
that are not necessarily available on machines that have Ruby. The
solution should not require more than Ruby, C and make (or nmake).

I presently use a Makefile but Makefiles are not the answer to
portability issues.

Josef 'Jupp' Schugt
--
.-------.
message > 100 kB? / | |
sender = spammer? / | R.I.P.|
text = spam? / ___| |___