This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newlib port for new architecture


Hello Varun,

one blocking point to use the Tricore in an open source environment is that the Binutils and GCC sources are difficult to obtain. Without access to the sources its impossible to test your work. Why doesn't integrate Infineon its Tricore support into the FSF upstream projects?

On 24/07/16 12:30, Varun.Kumar@infineon.com wrote:
Hello Sebastian,

Thanks for your suggestion. I moved to Ubuntu env on a VM, and I could easily build the library for arm -none-eabi  with  "--disable-newlib-supplied-syscalls" option.

Now, I am starting to add changes necessary to support tricore architecture. For basic support, my understanding is that following need to be updated:
- "newlib" configure.ac file [to add target option]
- low level code for  setjmp and longjmp.
- add configure.in/.ac @ libc/machine/"tricore target folder name"
- update ieee headers, setjmp buffer size header, /sys/config header,
=>As I understand libgloss porting is not necessary as first step. Please correct me if I am wrong...

 From community side, I have couple of questions:
- Would somebody in community, be generous enough to peer-review my changed files?
- Once build is successful, Is there any formal procedure required to push the updated code back to git-repo?    [this is needed later]

Thanks again!!!


Many Regards,

Varun Kumar

Staff Engineer IFIN ATV SW
Infineon Technologies India Pvt Ltd
Tel.: +91 80 3927 1086
varun.kumar@infineon.com

Part of your life. Part of tomorrow

-----Original Message-----
From: Sebastian Huber [mailto:sebastian.huber@embedded-brains.de]
Sent: Monday, July 11, 2016 11:06 AM
To: Kumar Varun (IFIN ATV MC SW DEV EP); newlib@sourceware.org
Subject: Re: Newlib port for new architecture

Hello Varun,

I would not use a Windows host to do this work. Its probably much times faster if you do this on a Linux machine. I would also use a Git clone of Newlib to do the development.

On 09/07/16 10:39, Varun.Kumar@infineon.com wrote:
Hi,

I am using Cygwin to configure the newlib in windows environment [ I
wanted to check if build for arm is working before I start porting code for tricore arch] I am trying to use pre-built gcc image of arm [SysGCC ] for trial purpose. It is added in path variable, still not getting recognized.  Attaching the logfile also.

Any help would be appreciated!!!

===============================================
kumavaru@BLR
/cygdrive/c/Varun/01_Work/23_eLuaPort/newlib/newlib-m68-aout
$ ../newlib-cygwin/configure  --target=arm-eabi checking build system
type... i686-pc-cygwin checking host system type... i686-pc-cygwin
checking target system type... arm-unknown-eabi checking for a
BSD-compatible install... /usr/bin/install -c checking whether ln
works... yes checking whether ln -s works... yes checking for a sed
that does not truncate output... /usr/bin/sed checking for gawk...
gawk checking to see if cat works as expected... yes checking for
gcc... no checking for cc... no checking for cl.exe... no
configure: error: in `/cygdrive/c/Varun/01_Work/23_eLuaPort/newlib/newlib-m68-aout':
configure: error: no acceptable C compiler found in $PATH See
`config.log' for more details.
=========================================
It seems you need a native GCC installed. I would really use a Linux machine, just select the C/C++/kernel development packages and everything should be available.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]