From owner-freebsd-ports@FreeBSD.ORG Sat Mar 27 00:21:44 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0398B1065677 for ; Sat, 27 Mar 2010 00:21:44 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 7D1368FC13 for ; Sat, 27 Mar 2010 00:21:43 +0000 (UTC) Received: by fxm25 with SMTP id 25so170818fxm.3 for ; Fri, 26 Mar 2010 17:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7pYg+TWvPJ9Yv+ZT/9WHMAd5Ye55qxmDsuHwrGLaJbg=; b=aBz4i+TbK1lk1DNRRYq0SrCwxQM/9x54M8vqyQVJ5zAxTPH4UZEW1OwlCxkhuvJLlk tEaaXuitzxC0zdobH+FStxjX37IPf4kpJO0SU/VhubftADKGKVb/t8tAk9sZ/qPgt+i9 NFGMgTNeqYQvYKVW7HzB7jUsh1mS48RLS1q5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Kf8EF/NhPe83ChFbstWoTTPqbMxWRRes9XM/rszAGw0gAhu7rQnrSL8RXEy4hg1bjM bR2E/IeLLrhOy4hn9sadGl7rmKe6+aS+PmoBqxW0j1SNVDuoN5cSWgywsN3JKCsc4Kwt Xkcr2amGJzhMwK5NC5n3whNNh+mzooBiZybtg= MIME-Version: 1.0 Received: by 10.223.121.197 with HTTP; Fri, 26 Mar 2010 17:21:42 -0700 (PDT) In-Reply-To: References: <3fcfb0ba1003251803p15b4012exf8cae140c6f88d32@mail.gmail.com> Date: Sat, 27 Mar 2010 00:21:42 +0000 Received: by 10.223.15.148 with SMTP id k20mr1628742faa.67.1269649302352; Fri, 26 Mar 2010 17:21:42 -0700 (PDT) Message-ID: <3fcfb0ba1003261721k2e05913ah3ebe32f4dba90635@mail.gmail.com> From: CeDeROM To: Rene Ladan Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: default binutils - linker 2.15 versus 2.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2010 00:21:44 -0000 On Fri, Mar 26, 2010 at 7:19 AM, Rene Ladan wrote: > 2010/3/26 CeDeROM : >> Hello world! >> >> I have problems building applications requiring ld 2.20 (located at >> /usr/local/bin) where ld 2.15 (located at /usr/bin) is being invoked >> with c++ (gcc4.2.1). Why there are two linkers on the system? Is it >> possible to update the default linker to version 2.20? >> > An upgrade is not possible because binutils switched to GPL3 after > version 2.17 and GLP3 code is not allowed in the base system. =C2=A0One > possible solution would be to tell the applications to use > /usr/local/bin/ld explicitly. Hello Rene! Thank you for this information, but this complicates my build process dramaticaly. Maybe you know how to force /usr/bin/c++ to use /usr/local/bin/ld instead of /usr/local/bin (possibly executable from a port build process)..? Someone had to have similar problem before - to use newer linker than the system default... Best regards, Tomek --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info