无法在Linux上正确安装gcc

时间:2013-11-06 09:39:10

标签: linux gcc install

当我输入以下命令时:

yum install gcc

这让我在你的系统上安装了最新版本的gcc编译器,但是当我要按照以下方式运行简单的c文件时,它会给我一个错误,如下所示

[root@localhost ~]# gcc abc.c
In file included from /usr/include/features.h:385,
             from /usr/include/stdio.h:28,
             from abc.c:1:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory

2 个答案:

答案 0 :(得分:4)

尝试安装这些:

yum install glibc glibc-devel gcc-c++

答案 1 :(得分:2)

在Fedora 23 +中:


gulp.task('callback', function (cb) {
    watch('css/**/*.css', function () { < we called watch here
        gulp.src('css/**/*.css') < -- why do I need to use .src here (is there a reason that I didn't accept the vinyl parameter and use it?)
            .pipe(watch('css/**/*.css'))<-- why do we call watch again here?
            .on('end', cb);
    });