Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-03-01 Thread Andrea D'Amore
On Wed, Feb 29, 2012 at 16:17, Ryan Schmidt ryandes...@macports.org wrote: I understand those are conceptually dfferent, but shouldn't CFLAGS have -I${prefix}/include as well by default? I don't see any reason to do so. I do, I was mixing CPATH and CFLAGS roles. The point seems to be that

Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-03-01 Thread Ryan Schmidt
On Mar 1, 2012, at 03:35, Andrea D'Amore wrote: On Wed, Feb 29, 2012 at 16:17, Ryan Schmidt wrote: I understand those are conceptually dfferent, but shouldn't CFLAGS have -I${prefix}/include as well by default? I don't see any reason to do so. I do, I was mixing CPATH and CFLAGS roles.

Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-03-01 Thread Joshua Root
On 2012-3-1 20:35 , Andrea D'Amore wrote: On Wed, Feb 29, 2012 at 16:17, Ryan Schmidt ryandes...@macports.org wrote: I understand those are conceptually dfferent, but shouldn't CFLAGS have -I${prefix}/include as well by default? I don't see any reason to do so. I do, I was mixing CPATH and

Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-02-29 Thread Andrea D'Amore
On Tue, Feb 28, 2012 at 23:04, MacPorts nore...@macports.org wrote: Please someone on Lion try to build arm-elf-binutils on Lion and confirm it's breaking on missing header files. Confirm that adding the following line to Portfile (regular diff attached) fixes the issue too:

Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-02-29 Thread Jeremy Lavergne
Please someone on Lion try to build arm-elf-binutils on Lion and confirm it's breaking on missing header files. Confirm that adding the following line to Portfile (regular diff attached) fixes the issue too: configure.cflags-append ${configure.cppflags} On this topic Guide suggests

Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-02-29 Thread Joshua Root
On 2012-2-29 20:43 , Andrea D'Amore wrote: On this topic Guide suggests configure.enf defaults to CFLAGS=-I${prefix}/include … but configure.cflags defualt is configure.optflags, and this ends in CFLAGS being -O2 add arch flags. The Guide is wrong on this point. Should configure.cppflags be

Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-02-29 Thread Ryan Schmidt
On Feb 29, 2012, at 08:40, Andrea D'Amore wrote: On Wed, Feb 29, 2012 at 14:56, Joshua Root j...@macports.org wrote: No, CPPFLAGS is a different thing to CFLAGS. You do need to append the former to the latter for some build systems that don't recognise both. I understand those are

Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-02-29 Thread Lawrence Velázquez
On Feb 29, 2012, at 7:53 a.m., Jeremy Lavergne wrote: Please someone on Lion try to build arm-elf-binutils on Lion and confirm it's breaking on missing header files. Confirm that adding the following line to Portfile (regular diff attached) fixes the issue too: configure.cflags-append

Re: [MacPorts] #32785: arm-elf-binutils @2.21.52.0.2 - Build Failure

2012-02-29 Thread Andrea D'Amore
On Wed, Feb 29, 2012 at 21:28, Lawrence Velázquez larry.velazq...@gmail.com wrote: Builds fine for me also. 10.7.3 (11D50b) with Xcode 4.3 (4E109). Seems Xcode 4.3 makes the difference. -- Andrea ___ macports-dev mailing list