This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] crosstool-0.42+NPTL-khem vs nyet-ppc860



You can do this in makefiles of subdirs
e.g.
CFLAGS-pt-initfini.s += -fno-unit-at-a-time
would add fno-unit-at-a-time only for initfini.s compilation and would not depend on configure


Thanks

Khem


Nye Liu said the following on 8/21/2006 11:57 AM:
khem:
after further investigation, glibc-2.6.3 configure actually tests
for fno_unit_at_atime but it seems to always fail.

i can also hardwire the cache with
echo "libc_cv_fno_unit_at_a_time=yes" >> config.cache

but that is probaby not the correct solution.

trying to debug this right now.

On Fri, Aug 18, 2006 at 08:03:30PM -0700, Khem Raj wrote:
Nye Liu said the following on 8/18/2006 5:42 PM:
-GCC_EXTRA_CONFIG="--with-cpu=860 --enable-cxx-flags=-mcpu=860"
+GCC_EXTRA_CONFIG="--with-cpu=860 --enable-cxx-flags=-mcpu=860 --disable-multilib"
+GLIBC_EXTRA_CC_ARGS="-fno-unit-at-a-time"
This would pass -fno-unit-at-a-time to all glibc build probably you
would be better of by adding this option to the concerned files in glibc
sources. You can speficy source file specific compile flags
in there.

--
Khem Raj <kraj@mvista.com>
MontaVista Software Inc.



-- Khem Raj <kraj@mvista.com> MontaVista Software Inc.


-- For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]