Le 15/08/11 01:38, Yann Sionneau a écrit : > Le 14/08/11 20:43, Sebastien Bourdeauducq a écrit : >>> I also submitted a new port [1] : lm32-rtems-gcc >> Can you add the extra multilibs? >> http://www.milkymist.org/wiki/index.php?title=Flickernoise_build_instructions#RTEMS_and_toolchain >> It's still not in RTEMS... I have recently committed it to gcc 4.5.3 >> though. >> > Done. > Hi Milkymist ML,
An update about the submission of lm32 toolchain to MacPorts. I got a feed back from a MacPorts guy on my submission [0]. They added a feature called "PortGroup" which makes it possible to factorize Portfile code. There is now a "crossgcc" Portfile, in theory lm32-rtems-gcc Portfile should use the crossgcc PortGroup in order to improve maintainability, reduce possible errors and Portfile length. I tried to use this kind of "template" to submit a new Portfile, but I bumped into a few problems : - The PortGroup assumes I want to generate lm32-rtems-gcc and not lm32-rtems4.11-gcc. - The PortGroup assumes I have lm32-rtems-TOOLNAME (for strip, objdump, ar etc) and not lm32-rtems4.11-TOOLNAME. - The PortGroup tries to do some processing on libquadmath which does not exist in gcc-4.5.2. Indeed all our tools (xiangfu's scripts) and our wiki are making references to lm32-rtems4.11-gcc and not lm32-rtems-gcc. Therefore we need the former in order to keep a little bit of coherency among our documentation/script/tools, I will try to make this happen but before I have a question to ask : Do we really need to keep the "4.11" inside the toolchain name ? Is it really a good idea ? What will we do when RTEMS-4.12 will be released ? Why not using only lm32-rtems-gcc like other systems ? I am just asking for your opinion on this. Another thing, I generated very easily - thanks to MacPorts - 2 dmg files [1] which make it possible to install lm32-rtems-binutils and lm32-rtems-gcc with a GUI on any Mac OS X system, even without MacPorts installed. [0] - https://trac.macports.org/ticket/30767#comment:1 [1] - http://sionneau.net/rtems/ Regards, -- Yann Sionneau _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode
