From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6026 invoked by alias); 29 Apr 2011 15:12:39 -0000 Received: (qmail 6017 invoked by uid 22791); 29 Apr 2011 15:12:38 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-pv0-f169.google.com (HELO mail-pv0-f169.google.com) (74.125.83.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 29 Apr 2011 15:12:25 +0000 Received: by pvc12 with SMTP id 12so3287041pvc.0 for ; Fri, 29 Apr 2011 08:12:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.29.234 with SMTP id n10mr5025006pbh.94.1304089945180; Fri, 29 Apr 2011 08:12:25 -0700 (PDT) Received: by 10.68.60.35 with HTTP; Fri, 29 Apr 2011 08:12:25 -0700 (PDT) Date: Fri, 29 Apr 2011 15:12:00 -0000 Message-ID: Subject: gcc -nostdlib -Wl,--script=xxx but "ld: this linker was not configured to use sysroots" From: Steffen Dettmer To: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00437.txt.bz2 Hi, when linking without stdlib but a custom linker script, why does ld needs to know anything about a sysroot used to compile gcc? Is it just because gcc passed unneeded "--sysroot=..." option that leads to this error, although not needed in case of -nostdlib? oki, Steffen