-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup the debian packages #20
Comments
Is this something we should be prototyping/testing on https://github.com/beagleboard/repos? |
This particular task outlines what needs to be done for these packages to be accepted into Debian mainline. It doesn't have relation to the Beagleboard Repo. Robert Nelson has merged the prototype pru-gcc and binutils-pru packages. Although prepared hastily and violating some Debian guidelines, these packages are fully functional. Users of Beagleboard Debian Jessie can start using them now after a simple "apt-get install pru-gcc". The "Help Wanted" label indicates I'm not currently working on it, so task is free to be grabbed by someone else. |
jadonk: In essence we're already using beagleboard/repos for testing :) |
Hi,
Could you explain these points |
Thank you and welcome aboard!
See https://wiki.debian.org/Projects/DebSrc3.0 . Now that all toolchain components are upstreamed, you can build directly from released GNU tarballs. Hence 3.0 (native) might also work and might be simpler to implement. |
When I checked in rcn-ee's repo, there was a separate package for newlib, is this still valid ? Can you redefine the tasks, as it is a 4 yr old post.
I will go through this. |
I don't see a separate package for newlib. Cross GCC for most architectures can be built in two phases. This is what gnupru/build.sh does:
I don't know if it is even possible to do the above if newlib and GCC are separate packages. Hence the existing debian packaging rules use the second option (see repos/gcc-pru/generate_source.sh )
I will update the issue description. |
Sorry my bad, I mistook it for binutils.
But then how do other toolchains do it ?, say arm-gcc ?
Is it possible to separate them into two diff packages after the build step. |
You can find out:
I haven't checked myself.
No. You need one source tarball (perhaps with a bunch of patches applied, if necessary). And you have only one debian/rules description how to build it. |
Cool, I will read about this, and start from next Monday as I have exams right now. |
How do generate a PRU simulator ? I looked up this file: https://github.com/rcn-ee/repos/blob/master/gcc-pru/suite/bionic/debian/rules I think I need to change the target here
If not how do I compile the PRU simulator separately ? https://gcc.gnu.org/simtest-howto.html, I tried doing this, it doesn't list a PRU Simulator |
PRU simulator must be a separate Debian package. GNU simulator is part of the GDB source release.
If you are interested in PRU simulator for toolchain testing, then take a look at https://github.com/dinuxbg/gnupru/tree/master/testing . |
So, basically I would need to add this to CONFARGS, to generate a debian package with simulator, am I right?
|
I'm afraid it's much more complicated. If you want to create Simulator Package, then you need to create a brand new Debian package.
If you think that's too much work, then leave it aside. Simulator is anyway currently used only for running toolchain regression tests. |
The current debian packages were hastily prepared to allow easy pru-gcc installation from official Beagleboard images. While functional, the packages do not meet many requirements for inclusion into Debian mainline. At least the following fixes are needed:
Separate documentation in separate packages, to address Debian licensing concerns. This is not needed because Binutils and GCC provide decent online documentation.The text was updated successfully, but these errors were encountered: