From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79789 invoked by alias); 16 May 2017 15:53:29 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 77700 invoked by uid 89); 16 May 2017 15:53:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*joel, sherrill, Sherrill, organization X-HELO: mail-ua0-f176.google.com Received: from mail-ua0-f176.google.com (HELO mail-ua0-f176.google.com) (209.85.217.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 May 2017 15:53:26 +0000 Received: by mail-ua0-f176.google.com with SMTP id j17so102425003uag.3 for ; Tue, 16 May 2017 08:53:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=IshRIQUgFsYj27ClLJqiq3C+jUvexRV+ah164E3vF/U=; b=QIooXzbdZjqVg1PbgWdFQeNhhnAUfht1o+CJPr/nSxem9iJa7lQfStVlpQDpJJCNfR PuYB5T1OTkMqqpW7wbbqZeNuXtml6rn9+qNKMZb/wBmXBu61xCcWnb7zHq2P+qOIRs/G RKt5gpf4r5V7YcMV+CN6NkwQq+wt+TaFBH0C1eLyESta1wjJ3YH1ybApiLnNCDwYnFJ1 gbI55Z2TvXQerNt7PmIK2ksl9kTFTtJdXhDnBggPhPt42z3g1goUJWgchHtMIlaCMf2z IOQSdCmBaQ6Vi9G46lew0lBsRBocYzi8A/pKU8ceNPcWc51w0AnrGau2SrwOj/L5McGA bjNg== X-Gm-Message-State: AODbwcC1NsiVUbv2v30W1H7lavNJ60gjjk0iX2JAQPaDzEqwJkeCjgeI kAQibaP8vah66jCl+mMDWLDa+CoXe5xG X-Received: by 10.176.95.19 with SMTP id p19mr6395325uah.85.1494950007387; Tue, 16 May 2017 08:53:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.54.204 with HTTP; Tue, 16 May 2017 08:53:26 -0700 (PDT) In-Reply-To: References: From: Gedare Bloom Date: Tue, 16 May 2017 15:53:00 -0000 Message-ID: Subject: Re: Work on newlib To: aditya upadhyay Cc: "newlib@sourceware.org" , Joel Sherrill Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00326.txt.bz2 On Tue, May 16, 2017 at 2:56 AM, aditya upadhyay wrote: > Hello Developers, > > I am Aditya Upadhyay got selected in Google Summer of Code(2017) for RTEMS > organization. My Proposal has been accepted for POSIX Compliance, Where I > have to work on newlib and some libraries that is not in RTEMS, have to > implement. > > I am having a j-newlib script pointed by Joel Sherrill, I have used this > script using following command : > aditya@aditya-Lenovo-ideapad-110-15ACL:~/development/newlib$ ./j-newlib > These are the targets in j-newlib : > # primary targets > TARGETS="${TARGETS} sparc-rtems4.12" > TARGETS="${TARGETS} arm-rtems4.12" > TARGETS="${TARGETS} powerpc-rtems4.12" > TARGETS="${TARGETS} mips-rtems4.12" > TARGETS="${TARGETS} i386-rtems4.12" > TARGETS="${TARGETS} m68k-rtems4.12" > > There are some secondary and optimistic targets. > > and generated directory like b-sparc64-rtems4.12-newlib, > b-sparc-rtems4.12-newlib, b-arm-rtems4.12-newlib etc..but there is not a > single .exe file after i fired make command. > > I do not know whether i am going in right working direction or not ? > Please correct me. Any direction or suggestion will be greatly appreciable. > Without knowing what this j-newlib script does, it is hard to help you interpret the output. Perhaps Joel can help you. For RTEMS, you should compile newlib as part of building gcc. This means if you have modified newlib you should re-compile gcc with it, and then you would re-compile RTEMS and run its testsuite in order to test your changes. To compile a modified newlib into the gcc toolchain, you should consider creating a patch of your change to newlib (e.g. from git-format-patch) and add the patch to your local rtems-source-builder in order to apply a custom patch during the compiler re-build. See https://docs.rtems.org/branches/master/rsb.html#patches for some documentation on how you do this, which includes an example specifically related to patching newlib. Gedare > Thanks & Best Regards, > Aditya Upadhyay