--- Ken Moffat <[EMAIL PROTECTED]> wrote:

>  A quick look in autoconf-lib-link/ suggests that
> @CFLAGS@ are picked
> up during configure, so if we are going to do it
> more cleanly we
> will either pass CC="gcc ${BUILD64} -fPIC" or
> CFLAGS="-fPIC" to
> configure.  Either of these will probably cause the
> whole compile to
> use -fPIC, I hope that is not a problem, but it
> needs to be tested.
> I guess CFLAGS is a safer idea, if it works.
> 
>  Anybody able to test any of this ?

I've tested both, and both work (as confirmed by
Jonathan).
But I suggested the sed in my mail because it does
only impact the tests compilation, and not the
installed files with -fPIC.
Adding -fPIC to CFLAGS is easier, but means that
"make" is done with -fPIC, so libraries and programs
are compiled with this option, which is perhaps not
wanted.
I don't know exactly the impacts of -fPIC (relocatable
addresses, as I can have read somewhere, but bad
impacts on performances if unneeded), so I personally
prefer to limit it to the test command only.

>  I think you should get yourself an account at
> trac.cross-lfs.org
> and open a ticket for this.  You might also want to
> ticket your
> earlier comments about the perl test failures when
> booting without
> 'ip'.

I'll look at it. I never give attention to it before
(only see a lot of messages some time before about the
change from Bugzilla to Trac).
Is this the recommanded place to put bugs, or the list
must also be used?

G. Moko


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to