This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgfortran, libgomp not compiled with BOOT_CFLAGS.
- From: Serge Belyshev <belyshev at depni dot sinp dot msu dot ru>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Sun, 16 Dec 2007 21:27:02 +0300
- Subject: Re: libgfortran, libgomp not compiled with BOOT_CFLAGS.
- References: <4765294E.9020203@moene.indiv.nluug.nl>
Toon Moene <toon@moene.indiv.nluug.nl> writes:
> L.S.,
>
> Recently, I've begun to bootstrap with make BOOT_CFLAGS="flags",
> basically to get the run time libraries (libgfortran, libgomp)
> compiled with -mcpu=native -mtune=native (the speed of the compiler
> doesn't interest me that much).
>
> However, I see that almost everything is compiled with -mcpu=native
> -mtune=native, *except* the run time libraries ...
>
> Is that because they're target libraries - if so, how would one get
> them compiled "optimally" if not building a cross-compiler ?
Yeah, try adding appropriate FCFLAGS into environment.
Also CXXFLAGS, GCJFLAGS affect some of resulting binaries or libraries
when bootstrapping, and CFLAGS (don't remember about this one for sure).