[MacPorts] #30767: new port : lm32-rtems-gcc
#30767: new port : lm32-rtems-gcc -------------------------------------+-------------------------------------- Reporter: yann.sionneau@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: lm32-rtems-gcc -------------------------------------+-------------------------------------- This is a Portfile which introduces gcc for the lm32 architecture for the RTOS RTEMS, using newlib as libc. This Portfile makes it possible for anyone to produce code to be executed on the Milkymist plateforme. Binaries produced by this gcc can be executed either on real hardware (Milkymist One board) or on Qemu (since latest release 0.15.0 now supports officially lm32 and Milkymist). There is a patch (gcc-ppl-version.patch) to put in lm32-rtems-gcc/files/ attached to this ticket too. -- Ticket URL: <https://trac.macports.org/ticket/30767> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30767: new port : lm32-rtems-gcc -------------------------------------+-------------------------------------- Reporter: yann.sionneau@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: lm32-rtems-gcc -------------------------------------+-------------------------------------- Changes (by raimue@…): * cc: raimue@… (added) Comment: I recently added a [source:trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl crossgcc port group] in order to unify any cross development toolchains. -- Ticket URL: <https://trac.macports.org/ticket/30767#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30767: new port : lm32-rtems-gcc -------------------------------------+-------------------------------------- Reporter: yann.sionneau@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: lm32-rtems-gcc -------------------------------------+-------------------------------------- Comment(by yann.sionneau@…): Replying to [comment:1 raimue@…]:
I recently added a [source:trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl crossgcc port group] in order to unify any cross development toolchains.
Thanks a lot for your feed back on my submission. I am in the process of re-writting the Portfile to make use of your crossgcc PortGroup. I have a few problems though, maybe you can help me to sort this out : - I need to generate lm32-rtems4.11-gcc binary and not lm32-rtems-gcc. So I need --target=lm32-rtems4.11-gcc passed as configure.args - I need AR, STRIP, OBJDUMP etc to be like lm32-rtems4.11-TOOLNAME in environment variables, as in my Portfile. - I need to desactivate g++ building, I only want gcc to be built. (The reason is pretty simple : g++ is broken for lm32 architecture) - I made an attempt of Portfile using your crossgcc PortGroup, here is what I get : Error: reinplace: couldn't read file "/opt/local/var/macports/build/_Users_fallen_ports_cross_lm32-rtems- gcc/lm32-rtems-gcc/work/gcc-4.5.2/libquadmath/libquadmath.info": no such file or directory This error comes from the line 100 "libquadmath libquadmath/Makefile.in libquadmath info" of your PortGroup I think. Indeed libquadmath does not exist in gcc-4.5.2 I am using gcc-4.5.2 because lm32 support is broken on newer gcc releases (and in gcc HEAD as well), it is in the process of being fixed, but it may take some time. Here is what I came up with so far : http://pastebin.com/4mJ9Nqc7 Any feed back is greatly appreciated :) Thanks ! -- Ticket URL: <https://trac.macports.org/ticket/30767#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30767: new port : lm32-rtems-gcc -------------------------------------+-------------------------------------- Reporter: yann.sionneau@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: lm32-rtems-gcc -------------------------------------+-------------------------------------- Comment(by raimue@…): Thanks for your feedback on the crossgcc port group! I will try to find solutions for these problems and I am pretty sure we can work this out, but will take some time - at least for me at the moment. To avoid any longer delay, here is an update of the original submitted Portfile with small changes: * Fix whitespace, the indentation using tabs/spaces wasn't consistent * Fix fetch, tags in distfiles were wrong * extract.only was specified twice * `use_parallel_build yes` is the default already * Make use of `system -W` Livecheck should probably be pointed to a RTEMS specific release, not GCC core from FSF. -- Ticket URL: <https://trac.macports.org/ticket/30767#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts