On Tue, Aug 9, 2011 at 9:48 PM, Jonathan Nieder <[email protected]> wrote:
> Sedat Dilek wrote:
>
[...]
> I've just started a new gcc build with
>
>        $ git reset --hard origin/master
>        $ git clean -fdx
>        $ ./configure --prefix=$HOME/opt/gcc \
>                CFLAGS_FOR_TARGET="-g -O2 -B/usr/lib/x86_64-linux-gnu"
>        $ make BOOT_CFLAGS="-g -O2 -B/usr/lib/x86_64-linux-gnu"
>

Can you explain why you use CFLAGS_FOR_TARGET as configure-option only
and BOOT_CFLAGS as make-option?

Is this export not enough?

$ export CFLAGS_FOR_TARGET="-g -O2 -B/usr/lib/$DEB_HOST_MULTIARCH"

- Sedat -

> Seems to be working well so far; I'm cautiously optimistic.  gcc is
> 4.6.1-6, libc 2.13-16.
>
> If that works, next step will be to try a build on i386.  I'm
> cautiously optimistic.
>



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CA+icZUUfU1C9hOid0nghz6apquE=wjgtadrh7dh-r3vnp__...@mail.gmail.com

Reply via email to