[MacPorts] #30767: new port : lm32-rtems-gcc

MacPorts noreply at macports.org
Sun Sep 18 11:16:30 PDT 2011


#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


More information about the macports-tickets mailing list