Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure does not correctly detect gcc version on cygwin #980

Closed
llvmbot opened this issue Jul 27, 2005 · 1 comment
Closed

configure does not correctly detect gcc version on cygwin #980

llvmbot opened this issue Jul 27, 2005 · 1 comment
Labels
bugzilla Issues migrated from bugzilla

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Jul 27, 2005

Bugzilla Link 608
Resolution FIXED
Resolved on Feb 22, 2010 12:54
Version 1.0
OS Windows XP
Reporter LLVM Bugzilla Contributor

Extended Description

% ../llvm/configure
[skipped]
checking for llvm-gcc... no
checking for llvm-g++... no
checking tool compatibility... configure: error: gcc 3.x required, but you have
a lower version

% gcc --version
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

% gcc --version | head -n 1 | awk '{print $NF;}'
0.125)

I deleted this check, proceeded the build process, and everything was fine.

configure, 1.196

24843: if test "$GCC" = "yes"
24844: then
24845: gccmajor=$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1
24846: if test "$gccmajor" -lt "3"
24847: then
24848: { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a
lower version" >&5
24849: echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
24850: { (exit 1); exit 1; }; }
24851: fi
24852: fi

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

1 participant