Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Название темы: C compiler cannot create executables
Показать сообщение отдельно

Аватара для ruslandh

info man howto


Сообщения: 6960
Благодарности: 385

Профиль | Сайт | Отправить PM | Цитировать


Так
А какой у вас процессор и какое ядро - 32бит или 64 ?

Кандидат на правку вот этот участок :
Код: Выделить весь код
dnl **** Check for gcc specific options ****

AC_SUBST(EXTRACFLAGS,"")
if test "x${GCC}" = "xyes"
then
  EXTRACFLAGS="-Wall -pipe"

  dnl Check for strength-reduce bug
  AC_CACHE_CHECK( [for gcc strength-reduce bug], ac_cv_c_gcc_strength_bug,
                  AC_TRY_RUN([
int	L[[4]] = {0,1,2,3};
int main(void) {
  static int Array[[3]];
  unsigned int B = 3;
  int i;
  for(i=0; i<B; i++) Array[[i]] = i - 3;
  for(i=0; i<4 - 1; i++) L[[i]] = L[[i + 1]];
  L[[i]] = 4;

  exit( Array[[1]] != -2 || L[[2]] != 3);
}],
    ac_cv_c_gcc_strength_bug="no",
    ac_cv_c_gcc_strength_bug="yes",
    ac_cv_c_gcc_strength_bug="yes") )
  if test "$ac_cv_c_gcc_strength_bug" = "yes"
  then
    EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
  fi

-------
Поспешай не торопясь


Отправлено: 20:38, 01-04-2007 | #14

Название темы: C compiler cannot create executables