http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58276

--- Comment #6 from Larry Baker <baker at usgs dot gov> ---
Andrew,

On 29 Aug 2013, at 4:50 PM, pinskia at gcc dot gnu.org wrote:

> I think the bitbake build builds the compiler twice, once to build glibc and
> then again to build the target libraries.  The second time it uses make 
> install
> rather than make install-host.

That is what I thought too, but it is not the case, as far as I can tell. 
There are recipes for the initial gcc cross and the final gcc cross, and a gcc
for an SDK system and the target.  The "make install" step is done in the
package recipes.  They all use make install-host:

# find /mnt/opt/git/eldk -name gcc\*package\* -exec grep oe_runmake {} ';' -ls
    oe_runmake 'DESTDIR=${D}' install-host
1182496    4 -rw-rw-r--   1 500      500          1915 Aug 18 22:58
/mnt/opt/git/eldk/meta/recipes-devtools/gcc/gcc-package-cross.inc
    oe_runmake 'DESTDIR=${D}' install-host
1182498    4 -rw-rw-r--   1 500      500          2336 Aug 18 22:58
/mnt/opt/git/eldk/meta/recipes-devtools/gcc/gcc-package-sdk.inc
    oe_runmake 'DESTDIR=${D}' install-host
1182499    4 -rw-rw-r--   1 500      500          3837 Aug 18 22:58
/mnt/opt/git/eldk/meta/recipes-devtools/gcc/gcc-package-target.inc



Larry Baker
US Geological Survey
650-329-5608
ba...@usgs.gov

Reply via email to