bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26671] New: When building for cross, build uses target com


From: msullivan at cyclotronics dot com
Subject: [Bug binutils/26671] New: When building for cross, build uses target compiler for documentation tools
Date: Sun, 27 Sep 2020 20:47:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26671

            Bug ID: 26671
           Summary: When building for cross, build uses target compiler
                    for documentation tools
           Product: binutils
           Version: 2.35
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: msullivan at cyclotronics dot com
  Target Milestone: ---

Created attachment 12866
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12866&action=edit
config.log

I'm (trying to) build cross toolchain for x86_64 to mipsel

I configured binutils-2.35 with
--host=x86_64-linux-gnu
--build=x86_64-linux-gnu
--target=mipsel-unknown-linux-gnu

This didn't work.  configure told me that I need to use --build if I want 
a cross platform.  Which I was.  But I eventually got past that by leaving off
--build

Configure succeeds but when make runs, it tries to use the target compiler
mips-linux-gcc
to build chew.

The make process creates bfd/doc/Makefile and this file includes the line
CC_FOR_BUILD = mips-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32
--sysroot=/opt/eldk-5.6/mips/sysroots/mips32-linux

CC_FOR_BUILD should be the x86_64 compiler

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]