Am 24.03.2004 um 00:33 schrieb Peter O'Gorman:


Daniel E. Macks wrote:

Daniel Macks <[EMAIL PROTECTED]> said:
On Tue, Mar 23, 2004 at 04:47:46PM -0500, Dave Vasilevsky wrote:

Set these variables:

export CPPFLAGS=-I/sw/include
export LDFLAGS=-L/sw/lib
export LD_PREBIND=1
export LD_PREBIND_ALLOW_OVERLAP=1
export LD_SEG_ADDR_TABLE=/sw/var/lib/fink/prebound/seg_addr_table

Maybe maybe the FAQ should be left as-is and the actual Fink behavior
(which does not appear to be documented anywhere?) noted in the
Packaging Manual description of the SetENVVAR field?

Well, the LD_PREBIND stufff should not break anything, so there is probably no need to put it in the compile-myself section of the faq. CPPFLAGS and LDFLAGS are fine.


Note that I do not think it a good thing to have LDFLAGS and CPPFLAGS set globally in someone's environment, we should recommend LDFLAGS="... ./configure imo.


IMO, we should not mentioned the LD_* flags in the FAQ; the FAQ tells users how they can build stuff on their own, and for that CPPFLAGS and LDFLAGS is enough. On the other hand, the packaging manual of course should fully specify which env vars get set by default.




Cheers,

Max



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to