On 01/16/16 17:36, Tim Tassonis wrote:
Hi all


I've got a question regarding the last build of gcc (6.17):

Currently, the configure is specified as:

../gcc-5.3.0/configure        \
      --prefix=/usr            \
      --enable-languages=c,c++ \
      --disable-multilib       \
      --disable-bootstrap      \
      --with-system-zlib


While this of course all works very well, the resulting compiler will
include files containing x86_64-unknown-linux-gnu, because we don't
specify a target.

As "we" initially define our own target as

LFS_TGT=$(uname -m)-lfs-linux-gnu

wouldn't it be nicer to set this target here accordingly, as:

../gcc-5.3.0/configure \
--prefix=/usr \
--target=$LFS_TGT \
--enable-languages=c,c++ \
--disable-multilib \
--disable-bootstrap \
--with-system-zlib


, resulting in a gcc with files containing x86_64-lfs-linux-gnu instead
of x86_64-unknown-linux-gnu ?


Or am I missing something that makes this a bad idea?


I assume from further investigation that this would also have to be specified in 5.10. GCC-5.3.0 - Pass 2.





Kind regards
Tim


--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to