Jump to content

Michael Lebert

Members
  • Posts

    1
  • Joined

  • Last visited

Michael Lebert's Achievements

Member

Member (1/2)

0

Reputation

  1. Hi William, When I open the configure.ac file it does not look like in your example (at least not if I open it with TextEdit on Mac) # check CPU architecture AS_CASE([${target_cpu}], dnl [x86_64|amd64], dnl [TARGET_ARCH="${TARGET_ARCH}64" CPU_ARCH="x86_64" QT_ARCH="x86_64"], [x*86|i*86], dnl [CPU_ARCH="i386" QT_ARCH="iX86"], [powerpc64], dnl [TARGET_ARCH="${TARGET_ARCH}ppc64" CPU_ARCH="ppc64" QT_ARCH="pthreads"], [powerpc], dnl [TARGET_ARCH="${TARGET_ARCH}ppc" CPU_ARCH="ppc" QT_ARCH="powerpc-apple-macosx"], [AC_MSG_ERROR("sorry...architecture not supported")]) So trying to translate from your example I ended up with something that looks like below # check CPU architecture AS_CASE([${target_cpu}], dnl [x86_64|amd64], dnl [TARGET_ARCH="${TARGET_ARCH}64" CPU_ARCH="x86_64" QT_ARCH="x86_64"], [x*86|i*86], dnl [CPU_ARCH="i386" QT_ARCH="iX86"], [powerpc64], dnl [TARGET_ARCH="${TARGET_ARCH}ppc64" CPU_ARCH="ppc64" QT_ARCH="pthreads"], [powerpc], dnl [TARGET_ARCH="${TARGET_ARCH}ppc" CPU_ARCH="ppc" QT_ARCH="powerpc-apple-macosx"], [arm], dnl [TARGET_ARCH="${TARGET_ARCH}arm" CPU_ARCH="arm64" QT_ARCH="pthreads"], [AC_MSG_ERROR("sorry...architecture not supported")]) but hen running ./configure I always end up with "sorry...architecture not supported".... so something I apparently do wrong but I can't understand what. below what happens when I run ./configure: michaellebert@Michaels-Mini systemc-2.3.3 % ./configure checking build system type... arm-apple-darwin20.5.0 checking host system type... arm-apple-darwin20.5.0 checking target system type... arm-apple-darwin20.5.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++-11 accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++-11... gcc3 checking whether we are using a Clang/LLVM C++ compiler... no checking for gcc... g++-11 checking whether we are using the GNU C compiler... yes checking whether g++-11 accepts -g... yes checking for g++-11 option to accept ISO C89... unsupported checking whether g++-11 understands -c and -o together... yes checking dependency style of g++-11... gcc3 checking whether we are using a Clang/LLVM C compiler... no checking for ar... ar checking the archiver (ar) interface... ar checking dependency style of g++-11... gcc3 checking whether ln -s works... yes configure: error: "sorry...architecture not supported" michaellebert@Michaels-Mini systemc-2.3.3 % BR//Michael Lebert
×
×
  • Create New...