From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id A67E43858C2D for ; Fri, 25 Mar 2022 12:10:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A67E43858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x635.google.com with SMTP id dr20so14945675ejc.6 for ; Fri, 25 Mar 2022 05:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cf2+bZ90Tj0DWlFCurGQmeuYYLbi/Je2sBbiE5x+jHw=; b=H8ykYCfJ1qovyA19zhJw7X+MmRuOWgWPQdNJqKKFeY4kOMKcEKZEQMx17HkqxvLEOL GXm4N0ibMERAyZDe0x/sCuciMYNXyZqibP3+M4tbSoNtgxYzc7w3vnUVikGwKAgHmGTL eoWXKXkQAof6q6gCgOmH0KqGnW6Ju+UKSpd8T9DAoU8/W+IX1aO5f/zN36bH2THA5rbz 7Ir8ZVg0SlS6miogb/EBIKXeQLriiEF9aST3Zli4wT4Y15ScNxhOAH7rgpe/SSHPOmyk 2eSBGC1Xxfp+9PApAivwf2zl3lJYlyLAOQGxmJ8nU6n84SO/+XgXYFbkfWvc4EkuPH0a v3Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cf2+bZ90Tj0DWlFCurGQmeuYYLbi/Je2sBbiE5x+jHw=; b=acmevs9jeh47X1oMgdwhtopNOd6i43IVtUKgT/SzaVal81U3Aty1HcbDI8IYLFOsgL vlFGU5zxdpsaezBYENWfl3LTM2/TwOne/eKOWyGub+35/7vNkosfAt6A047zLrH+Uxqw XHEbZXHCTCYkAOUnTsHfrmfya1Mv0Tg5XHpXZz6pKp9SrcZLJUepHLKz4gcdScQga0Fv WeHV6jU3wrUNnHZzlCvUhtpF3kmcf3C2Xi2Qp3VNqYtVeQgvZDYUoPRo2rK2HF3HXWUR JU/JMRurKr70qGww3lX3pePaMjhvYu1orIzWF6cOnEcGMNwnnpmjglFk+3j8WDi0068y o17A== X-Gm-Message-State: AOAM53044HCTBZlMHFXxvx8v0hJ734uNdd5n7S5bXQnFlM0fqFj+g0Nm GBYZRUDPe3ypGRe7A58cskru6EsNTmo7ATglvtMgL4io X-Google-Smtp-Source: ABdhPJySWo+BJ+FtUS9PVQjRyuNPnnYfCpeBS9LlCd6J2Op2Gk7J0XUqLU8rB/AcgkgYnQ+TtYJR+nyWm9jghmSEpes= X-Received: by 2002:a17:907:8688:b0:6d2:c19:e1a0 with SMTP id qa8-20020a170907868800b006d20c19e1a0mr10835383ejc.249.1648210254343; Fri, 25 Mar 2022 05:10:54 -0700 (PDT) MIME-Version: 1.0 References: <5f850b5d-cbfb-4114-5b76-26628b8130f3@yahoo.de> In-Reply-To: <5f850b5d-cbfb-4114-5b76-26628b8130f3@yahoo.de> From: Dalas Yoo Date: Fri, 25 Mar 2022 21:10:43 +0900 Message-ID: Subject: Re: cannot find crt0.o file To: "R. Diez" Cc: newlib@sourceware.org X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2022 12:10:58 -0000 Interesting. Thanks for your help! Regards, Dalas 2022=EB=85=84 3=EC=9B=94 25=EC=9D=BC (=EA=B8=88) =EC=98=A4=ED=9B=84 7:58, R= . Diez =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > > [...] > > With the configuration, the newlib was successfully built. But when > trying > > to compile and link the program, the arm-none-eabi-gcc prints error > "crt0.o > > not found". > > This is a common annoyance with GCC for ARM. I filed a request about it > more than 5 years ago: > > Bug 68605 - Add -mno-crt0 to disable automatic crt0 injection > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68605 > > I normally just add an empty file called crt0.c (or crt0.cpp) to my > project, search for it here: > > https://github.com/rdiez/JtagDue/blob/master/Project/Makefile.am > > The comments around it should provide you with enough information. > > Regards, > rdiez >