in reply to Re: RFC: Changing Perl Config settings
in thread Changing Perl Config settings
set INCLUDE=%BASE%c\include;%INCLUDE% set LIB=%BASE%c\lib;%LIB%
Similarly, if I'm building a perl extension using Strawberry Perl, the standard headers and libraries get found fine - even though those 2 envvars are unset. Perhaps those 2 envvars could be useful when it comes to finding headers and libraries that are stored in non-default locations. (I haven't tried that. I prefer to keep LIB and INCLUDE unset, and provide the non-standard locations with the -I and -L switches.)C:\_32\C>set LIB LIB= C:\_32\C>set INCLUDE INCLUDE= C:\_32\C>type try.c #include <stdio.h> int main(void) { printf("Hello from strawberry\n"); return 0; } C:\_32\C>gcc -o try.exe try.c C:\_32\C>try Hello from strawberry C:\_32\C>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: Changing Perl Config settings
by Bloodrage (Monk) on Feb 25, 2008 at 00:57 UTC | |
by syphilis (Archbishop) on Feb 25, 2008 at 01:52 UTC |