From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id 749C73858C2C for ; Fri, 25 Mar 2022 10:30:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 749C73858C2C 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-x62e.google.com with SMTP id bg10so14460462ejb.4 for ; Fri, 25 Mar 2022 03:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Wa2okvIX3XmgQ4Hs09XVkKTlQ08PcuVAidkEjq3degs=; b=cPPAcFtE6TpTkB88RK5X80a0qi6CUcjhV8JrPTGWf+hIlYLNJOv27002Cy7MsEdkxh 8dhHG5wVOYz0FN0ZFY9oXcWbNiO1oNjSG8X+Jc0d9S0BRx7pl7G22jkB75igqwAIYWq2 7/ZKxBzADOK+F66ON0oGIxkteOW9UG4cMqssydwzBcgpEsrjhAWLS20yqLfHjvYUHley L55Nyhz6N5XSIJ4pH8uhW/9uon+l+RF4E2jvfW1ZpwIDd4bBUh0PvyWsN7ELJ05zIun5 eLiJWRTC2JvMtn5oXN7Qzbxveg97wNKTaDo7p/KqM0JaeEKzRa/P9UgFdtXMLX8GRc9t kT6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Wa2okvIX3XmgQ4Hs09XVkKTlQ08PcuVAidkEjq3degs=; b=D7/OeWDlU5HKig+X1PhvsODslvlIu+QgI7U3d+ohxXjchH7jI2oVVX39iMl6Az8mpF +meWCwER6k5N7h6Sm/uIyIBL1k2r51vh3Y/Be1o+SXbDWtlRwfCJO/+JL2vhohl117by ftHCjCao6YVBv97FrmizX7r8TTOr+ILT1KjM5mkhzYLjMkqJx3yIA7fqIByGjEMtcSfS MQjfKQ//m5n+uueryLq2ZwIJ5i+o6KrBe45Ef5TrUWJVa5uqcn1+SF171pV75CGg1f6o 2zrht708xTaN1dhfkepTET7+EE6qDRn3K3gGcQj4LoH2tdQHp0p/Dz8vXUv1r4IDz0uG m2cw== X-Gm-Message-State: AOAM530D5rsPMh1IisZNJ6WpgSbs4m86uzu/eomIkgCiqxv4JWwG+axh da4k4q8eTp2z5Df2cgacHhkfI/MH4WizDNY4DRqCTbli X-Google-Smtp-Source: ABdhPJxMkqvrKv8UGsxrOfdI3TmJMPf2LXB0EIIdafbko6EUe23ynJc/DBKQbGikXb7B0KPBCI6gttiBNABbY3kebMw= X-Received: by 2002:a17:907:a08c:b0:6e0:13e9:d4a3 with SMTP id hu12-20020a170907a08c00b006e013e9d4a3mr10740255ejc.548.1648204254361; Fri, 25 Mar 2022 03:30:54 -0700 (PDT) MIME-Version: 1.0 From: Dalas Yoo Date: Fri, 25 Mar 2022 19:30:43 +0900 Message-ID: Subject: cannot find crt0.o file To: newlib@sourceware.org X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, 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" 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 10:31:01 -0000 Hello, I tried to build a newlib for cross-compile toolchain. I configured it as below. ../newlib/configure --disable-newlib-io-float --disable-newlib-supplied-syscalls --target=arm-none-eabi 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". When searching the newlib lib directory, crt0.o file is not found though other types of crt0.o are found such as rdimon-crt0.o. If the arm-none-eabi-gcc gets applied with --specs=rdimon.specs options, it compiles the program fine. But if the newlib is configured without --disable-newlib-supplied-syscalls, it normally generates crt0.o. Would there be any suggestions on this case? Thanks, Dalas