Changes between Initial Version and Version 1 of Ticket #65157, comment 10


Ignore:
Timestamp:
May 15, 2022, 12:12:27 PM (2 years ago)
Author:
barracuda156
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #65157, comment 10

    initial v1  
    1313macmini:ghc-9.0.1 svacchanda$ ./configure --prefix=/opt/svacchanda/ghc9 --with-gcc=/opt/svacchanda/gcc11/bin/gcc
    1414configure: WARNING: unrecognized options: --with-gcc
    15 checking build system type... x86_64-apple-darwin10.8.0
    16 checking host system type... x86_64-apple-darwin10.8.0
    17 checking target system type... x86_64-apple-darwin10.8.0
    18 Build platform inferred as: x86_64-apple-darwin
    19 Host platform inferred as: x86_64-apple-darwin
    20 Target platform inferred as: x86_64-apple-darwin
    21 GHC build  : x86_64-apple-darwin
    22 GHC host   : x86_64-apple-darwin
    23 GHC target : x86_64-apple-darwin
    24 LLVM target: x86_64-apple-darwin
    25 checking for path to top of build tree... /Users/svacchanda/GHC_Kencu/ghc-9.0.1
    26 checking for a BSD-compatible install... /opt/local/bin/ginstall -c
    27 checking whether ln -s works... yes
    28 checking for gsed... /opt/local/bin/gsed
    29 checking for python3... no
    30 checking Xcode version... not found (too old?)
    31 checking for gcc... gcc
    32 checking whether the C compiler works... yes
    33 checking for C compiler default output file name... a.out
    34 checking for suffix of executables...
    35 checking whether we are cross compiling... no
    36 checking for suffix of object files... o
    37 checking whether we are using the GNU C compiler... yes
    38 checking whether gcc accepts -g... yes
    39 checking for gcc option to accept ISO C89... none needed
    40 checking how to run the C preprocessor... gcc -E
    41 checking for gcc option to accept ISO C99... -std=gnu99
    42 checking for gcc option to accept ISO C99... -std=gnu99
    43 checking for gcc option to accept ISO C99... -std=gnu99
    44 checking for -ld.lld... no
    45 checking for ld.lld... no
    46 checking for -ld.gold... no
    47 checking for ld.gold... no
    48 checking for -ld... no
    49 checking for ld... ld
    50 ld: unknown option: --version
    51 configure: unknown linker version
    52 configure: unable to convince 'gcc' to use linker 'ld'
    53 checking for -ld... no
    54 checking for ld... ld
    55 checking for ld.gold object merging bug (binutils 22266)... ld: unknown option: --version
    56 checking whether ld is GNU ld... NO
    57 checking whether ld understands --build-id... no
    58 checking whether ld understands -no_compact_unwind... yes
    59 checking whether ld understands -filelist... yes
    60 checking for -strip... no
    61 checking for strip... strip
    62 checking for llc-9... no
    63 checking for llc-9.0... no
    64 checking for llc... no
    65 checking for opt-9... no
    66 checking for opt-9.0... no
    67 checking for opt... no
    68 checking version of gcc... checking version of gcc... 4.2.1
     15
    6916configure: error: Need at least gcc version 4.7 (newer recommended)
    7017}}}
     
    8330gcc version 11.2.0 (GCC)
    8431}}}
     32
     33UPD. Okay, `./configure --prefix=/opt/svacchanda/ghc9 CC=/opt/svacchanda/gcc11/bin/gcc CXX=/opt/svacchanda/gcc11/bin/g++` worked :)