newlib-nano-2.0 repository?

Asked by Liviu Ionescu

I noticed that the source archive for 4.8 contains newlib-nano-2.0.tar.bz2, while the latest repository I could find for newlib-nano is still 1.0, on GitHub.

I guess you actively maintain newlib-nano and have an up-to-date repository on some internal server.

Would it be possible to make it public?

Thank you,
Liviu

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Thomas Preud'homme
Solved:
Last query:
Last reply:
Revision history for this message
Joey Ye (jinyun-ye) said :
#1

Liviu,

We are on the way to upstream everything to newlib mainline, which will reduce the need of an additional branch. Also we might host a branch in sourceforge later for occasionally mainline backports.

Before that happens, we don't have plan to open it.

Thanks,
Joey

Revision history for this message
Liviu Ionescu (ilg) said :
#2

upstream everything to newlib mainline is great. are there any estimates when this will happen?

until then, can you confirm that the sources packed in the source distribution are complete and up-to-date for this release?

Liviu

Revision history for this message
Joey Ye (jinyun-ye) said :
#3

Liviu,

Yes, I can confirm that sources for newlib nano are complete and includes all latest local changes when it is released.

Joey

Revision history for this message
Anatol Pomozov (anatol) said :
#4

It would be very useful to have a separate newlib-nano source repo. Is there any chance to see it? There are distros that would like to pack and distribute it as a separate package.

There is a repository at https://github.com/32bitmicro/newlib-nano-2 but I am not sure if this is an official one.

Revision history for this message
Terry Guo (terry.guo) said :
#5

No such plan so far due to resource limitation. But we are working with Debian to attempt to become their official release package. Maybe you can find something useful there.

As for github repo, it is not released by us.

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#6

Hi Anatol,

May I ask you why having newlib-nano as a separate source repo would be useful? Currently to get newlib-nano one just have to take newlib and call configure with the right options to get newlib-nano. Is there something missing for you use case?

Best regards.

Revision history for this message
Anatol Pomozov (anatol) said :
#7

I thought that newlib-nano has modifications over newlib. Otherwise why src.tar contains both newlib and newlib-nano source archives?

Where I can find more information about newlib (+nano) configuration?

Where I can find information about Debian packaging? I work on Linux Arch arm embedded packages and I would like to share my experience as well as learn how Debian package it. I would like to make packaging across distros in more unified way. How do you want to discuss it? We can move it to a separate mail thread.

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :
#8

Hi Anatol,

The reason is that until recently not all the bits were upstreamed in nano source, hence the need for an archive with the source of newlib-nano. As for the configure options, you can find them in the file build-toolchain.sh in the source tarball. It is the same set of options used in the current Debian and Ubuntu package. You can take a look at the MakeFile to build these package at [1].

[1] https://tracker.debian.org/media/packages/n/newlib/rules-2.1.0%2Bgit20140818.1a8323b-2

Feel free to ask me any question regarding the Debian packaging.

Best regards.

Revision history for this message
Liviu Ionescu (ilg) said :
#9

I checked the latest source archive and apparently now there is no more a separate newlib-nano archive.

Can you confirm that newlib-nano is now integrated into the main newlib source tree?

Thank you,

Liviu

Revision history for this message
Best Thomas Preud'homme (thomas-preudhomme) said :
#10

Hi Liviu,

I can confirm you that newlib-nano is now integrated in the main newlib source tree. Building newlib-nano is now a matter of specifying the right configure option.

Best regards.

Revision history for this message
Liviu Ionescu (ilg) said :
#12

Thanks Thomas Preud'homme, that solved my question.