[parisc-linux] GCC support for dwarf2

joel.soete@freebel.net joel.soete@freebel.net
Fri, 12 Apr 2002 18:37:56 +0200 (CEST)


Dave,

It confirms my first idea. (I also just find back:
http://mkhppa1.esiee.fr/archive/script_toolchain).

Thanks a lot,
    Joel

PS: I will send a mail to Carlos to report him this small bug and some update

Quoting John David Anglin <dave@hiauly1.hia.nrc.ca>:

> > Here am I with something confusing me about glibc building.
> > 
> > In the Carlos O'Donell recipe
> > (http://www.parisc-linux.org/toolchain/PA-Linux-XC-HOWTO-04.html)
> > 
> > It is set "export PATH=$PATH:$DEST/bin"
> > So at configure step it was selected gcc-3.0.4 (the last release for
> hppa-linux box)
> > 
> > Naturally if I put "export PATH=$DEST/bin:$PATH", the configure of
> glibc select
> > (for me well) gcc-3.2.
> > 
> > What is the right way? (for me the second)
> 
> Here is the script that I use to build glibc.  This installs to the
> same
> prefix that I use for gcc and binutils.
> 
> #!/bin/sh
> # /bin/sh must be bash!
> export
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/dave/opt/
> gnu/bin
> unset LD_RUN_PATH
> unset LD_LIBRARY_PATH
> export CC=/home/dave/opt/gnu/bin/gcc
> export CFLAGS="-O2 -g"
> ../glibc/configure --build=hppa-linux --host=hppa-linux
> --target=hppa-linux --pr
> efix=/home/dave/opt/gnu --disable-profile --without-cvs --enable-add-ons
> --enabl
> e-hacker-mode &&
> make &&
> make install
> 
> I tried to ensure that I am using the system tools for the build and
> install
> except for the compiler which I specify with CC.  The compiler was built
> with
> --with-gnu-as and --with-gnu-ld, so it knows where to find its tools
> independent of the PATH setting.
> 
> Dave
> -- 
> J. David Anglin                                  dave.anglin@nrc.ca
> National Research Council of Canada              (613) 990-0752 (FAX:
> 952-6605)
> 
> 


-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)