LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 734|回复: 5

gcc-4不知到哪里去了?

[复制链接]
发表于 2005-4-26 17:42:23 | 显示全部楼层 |阅读模式
emerge gcc-4.0.0.ebuild
没有出什么error和failed,不过不知装到哪里去了。
/usr/i686-pc-linux-gnu下没有, gcc-config只找到个3.X版的。

后面说有一行installing to /var/tmp/portage/gcc-4.0.0/image,不过下面除了temp外,什么也没有了。

看gcc-4的ebuild很少东西,比3.4的少了很多东西,不知什么问题

ebuild是清华的地FTP下载的。
 楼主| 发表于 2005-4-26 17:43:44 | 显示全部楼层
忘了说,我的make.conf

Bing etc # cat make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"

CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

#ACCEPT_KEYWORDS="~x86"

USE="kde qt gtk gtk2 gcc gdb alsa nptl truetype -f77"

MAKEOPTS="-j2"

GENTOO_MIRRORS="ftp://ftp.tsinghua.edu.cn/OS/Linux/distribution/gentoo/"

http_proxy="202.116.64.226:3128"
ftp_proxy="202.116.64.226:3128"
回复 支持 反对

使用道具 举报

发表于 2005-4-26 18:32:45 | 显示全部楼层
用官方提供的Gcc-4.0.0.ebuild就可了,我用Gcc-4编译Gcc-4都没有问题:)
回复 支持 反对

使用道具 举报

发表于 2005-4-26 21:11:11 | 显示全部楼层
use gcc-config to choose gcc version
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-26 22:47:43 | 显示全部楼层
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.0.0.ebuild,v 1.1 2005/04/21 20:56:38 eradicator Exp $

ETYPE="gcc-compiler"

inherit toolchain

DESCRIPTION="The GNU Compiler Collection.  Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"

LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="-*"

RDEPEND="virtual/libc
        >=sys-devel/gcc-config-1.3.1
        >=sys-libs/zlib-1.1.4
        !sys-devel/hardened-gcc
        !uclibc? (
                >=sys-libs/glibc-2.3.3_pre20040420-r1
                hardened? ( >=sys-libs/glibc-2.3.3_pre20040529 )
        )
        amd64? ( multilib? ( >=app-emulation/emul-linux-x86-glibc-1.1 ) )
        fortran? ( dev-libs/gmp )
        !build? (
                gcj? (
                        gtk? ( >=x11-libs/gtk+-2.2 )
                        >=media-libs/libart_lgpl-2.1
                )
                >=sys-libs/ncurses-5.2-r2
                nls? ( sys-devel/gettext )
        )"


if [[ ${CATEGORY/cross-} != ${CATEGORY} ]]; then
        RDEPEND="${RDEPEND} ${CATEGORY}/binutils"
fi

DEPEND="${RDEPEND}
        >=sys-apps/texinfo-4.2-r4
        >=sys-devel/bison-1.875
        >=sys-devel/binutils-2.15.90.0.1.1-r1"

PDEPEND="sys-devel/gcc-config
        !nocxx? ( !n32? ( !n64? ( !uclibc? ( !build? ( sys-libs/libstdc++-v3 ) ) ) ) )"

pkg_postinst() {
        toolchain_pkg_postinst

        einfo "This gcc-4 ebuild is provided for your convenience, and the use"
        einfo "of this compiler is not supported by the Gentoo Developers."
        einfo "lease file bugs related to gcc-4 with upstream developers."
        einfo "Compiler bugs should be filed at http://gcc.gnu.org/bugzilla/"
}
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-26 22:47:35 | 显示全部楼层
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.0.0.ebuild,v 1.1 2005/04/21 20:56:38 eradicator Exp $

ETYPE="gcc-compiler"

inherit toolchain

DESCRIPTION="The GNU Compiler Collection.  Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"

LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="-*"

RDEPEND="virtual/libc
        >=sys-devel/gcc-config-1.3.1
        >=sys-libs/zlib-1.1.4
        !sys-devel/hardened-gcc
        !uclibc? (
                >=sys-libs/glibc-2.3.3_pre20040420-r1
                hardened? ( >=sys-libs/glibc-2.3.3_pre20040529 )
        )
        amd64? ( multilib? ( >=app-emulation/emul-linux-x86-glibc-1.1 ) )
        fortran? ( dev-libs/gmp )
        !build? (
                gcj? (
                        gtk? ( >=x11-libs/gtk+-2.2 )
                        >=media-libs/libart_lgpl-2.1
                )
                >=sys-libs/ncurses-5.2-r2
                nls? ( sys-devel/gettext )
        )"


if [[ ${CATEGORY/cross-} != ${CATEGORY} ]]; then
        RDEPEND="${RDEPEND} ${CATEGORY}/binutils"
fi

DEPEND="${RDEPEND}
        >=sys-apps/texinfo-4.2-r4
        >=sys-devel/bison-1.875
        >=sys-devel/binutils-2.15.90.0.1.1-r1"

PDEPEND="sys-devel/gcc-config
        !nocxx? ( !n32? ( !n64? ( !uclibc? ( !build? ( sys-libs/libstdc++-v3 ) ) ) ) )"

pkg_postinst() {
        toolchain_pkg_postinst

        einfo "This gcc-4 ebuild is provided for your convenience, and the use"
        einfo "of this compiler is not supported by the Gentoo Developers."
        einfo "lease file bugs related to gcc-4 with upstream developers."
        einfo "Compiler bugs should be filed at http://gcc.gnu.org/bugzilla/"
}
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表