in reply to Re: Trouble Compiling Term::ReadKey
in thread Trouble Compiling Term::ReadKey
I thought that it was the Configure step of building Perl that knew how to select compiler command-line arguments for cc vs. gcc. I thought that MakeMaker just pulled out the one set of compiler options that Configure stuffed into Config.pm and so doesn't know how to adjust compiler command-line options based on cc vs. gcc.
Therefore, I don't expect CC=gcc to work when building a module (unless you get very lucky), only when building Perl itself.
The best rule is to build modules using the same environment that was used to build Perl. If I wanted to use gcc to build modules but Config.pm wanted to use cc, then I'd probably grab the source code to Perl and build it with gcc.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^2: Trouble Compiling Term::ReadKey (Configure)
by wirrwarr (Monk) on Sep 02, 2003 at 19:47 UTC | |
by Mark2117 (Initiate) on Sep 02, 2003 at 20:16 UTC | |
by tye (Sage) on Sep 02, 2003 at 21:04 UTC | |
by macakd (Initiate) on Aug 26, 2004 at 02:18 UTC |