From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by sourceware.org (Postfix) with ESMTPS id 59C6D385C40F for ; Fri, 16 Jul 2021 00:54:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 59C6D385C40F 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-ed1-x532.google.com with SMTP id t2so10338742edd.13 for ; Thu, 15 Jul 2021 17:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YzH6yvISAosomH0dFOtrYZmRlgjRG83tZwnKuR0AudE=; b=nzFff/fPl7uL52FZoy8TJwMgSmm9P65GhPt7oGy8JqaTIGMlctTahBrLVQqh28whj2 B18mFnOwZhtBGGfct0+8TRvZW0SEQRPDk3HJOWT/xqW71TxBc/7AcKVMv8rHOzLy/CYm /rUpMyaXLQmcVzno/ynUBfB5D3/o51WVdH+QzfhtQwWPYtO4sUtUDLwydi/UYtIqsDGl gxR3Nd6omUPyVxtLBYGjj+BRR4kCSrTSCtp1aRry0ub+0Kb721bRL2acdnMBpmyfIXOC 2LtW6IHeYLlITMtrkozQyu4USqAei8geYBWXjw0nT8w7LMVk0LM0eq+UZf0Y7yyHKPik RROQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YzH6yvISAosomH0dFOtrYZmRlgjRG83tZwnKuR0AudE=; b=D1ABmNFvnXY0TX6KhP5G2JfJFIpLDSpOOiHgtXmEQ5O/sqbHoK9x5g436QLb/WX0rN w5pBYtzWUhEUvCwDZTmK/uhbsDN3dhXKtq0Or6sNOgWJh4U/lhkhug+R8o8aS7b3em0e HETTWoW4UV6Fu5+K2VT5CFlJMTb9XDuGAYx3WHPxi40/eDyPS70utKT9tPD8YPtHK+WX WsxE+Y7AgVqBvU1SDt8vEmRZWLHz8nMoBfsjhL854EbjqsqOOJZUYpNtEl2V4QSQL6Dv fFTlxfUHB/3i/skEFiU+yHtOfcnb2+0nVTsbbaxNzPvBRsuKaYBrpixEjY6QD6C6LIDP 3RJw== X-Gm-Message-State: AOAM530oGPbaQPKmadt4qYkpay5IL8QJFA9rvMaFCeQJ9RDe0vddEbAR 5qILyPw07ziRYBqYuPrJCCel4x9fTVuxgpsS4SPJEOcc X-Google-Smtp-Source: ABdhPJzWAKVB9z+p+r1xCYn1NGFmBim9MYD6frVYR62jwWJ1uxrydSb9VFsMKZBviEL1o2eRhVjzL3rL0GQdy7tl4ZE= X-Received: by 2002:aa7:d990:: with SMTP id u16mr10786241eds.263.1626396878866; Thu, 15 Jul 2021 17:54:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Harish Date: Fri, 16 Jul 2021 06:24:27 +0530 Message-ID: Subject: Re: Building libm library To: Jeff Johnston Cc: Newlib X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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, 16 Jul 2021 00:54:43 -0000 Ok, thanks for the clarification. One more question. I would like to use math library on a baremetal and want to know if the newlib math library uses system calls?. If yes, is there any other implementation which can be used for baremetals? Regards, Harish On Thu, 15 Jul, 2021, 11:19 pm Jeff Johnston, wrote: > Hello Harish, > > It isn't supported. There are no top Makefile targets for you to do this > and building targets directly from Makefiles in subdirectories often > runs into issues (e.g. missing headers that haven't been copied or > paths/vars set incorrectly since they are supposed to be set by parent > Makefiles). > In addition, the errno/reentrant mechanisms used by libm.a are supplied by > libc.a. > > -- Jeff J. > > On Thu, Jul 15, 2021 at 7:44 AM Harish wrote: > >> Hi newlib, >> >> I would like to build just libm.a library, is it possible? if yes, please >> let me know how can I do it. >> >> >> Thanks, >> Harish C >> >>