FAQ

Nicholas Clark wrote:
On Sun, Jul 23, 2006 at 09:37:00AM -0400, David Golden wrote:
system( "$Config{cc} -o test$Config{obj_ext} test.c" )
Which, as a fall-back, is hopefully a bit more portable. Frankly, I'm
not sure why it isn't just "$Config{cc} test.c", but I'm not very
compiler savvy.
The simplest reason that springs to mind is "what was the output file called,
so that I can delete it?" I don't think that there's a standard across
operating systems.
I can see that. On the other hand, CPAN.pm doesn't "make clean" so the
blib sticks around. One tiny object file wouldn't really bug me and it
would be cleaned up when the cache is cleaned. But I guess it's better
to clean up if one can. (Assuming -o is portable across most all
compilers.)

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 20 of 33 | next ›
Discussion Overview
groupmodule-build @
categoriesperl
postedJul 18, '06 at 12:16a
activeJul 26, '06 at 7:09a
posts33
users9
websitecpan.org...

People

Translate

site design / logo © 2018 Grokbase