Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. -no-sse4: invalid command-line switch
Forum Updated to NodeBB v4.3 + New Features

-no-sse4: invalid command-line switch

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 4.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kriu
    wrote on last edited by
    #1

    I was trying to perform an out-of-tree build and this flag doesn't work

    @../qt-everywhere-opensource-src-5.2.1/configure -prefix /tmp/cache/bin -no-avx -no-sse4

    • cd qtbase
    • /tmp/cache/qt-everywhere-opensource-src-5.2.1/qtbase/configure -top-level -prefix /tmp/cache/bin -no-avx -no-sse4
      -no-sse4: invalid command-line switch@

    Is this a bug about the configure script ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK no, it's not a bug, check the output of configure --help. You should see all the possible switches and maybe sse4.1 and sse4.2 that you can disable.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kriu
        wrote on last edited by
        #3

        [quote author="SGaist" date="1398115729"]Hi,

        AFAIK no, it's not a bug, check the output of configure --help. You should see all the possible switches and maybe sse4.1 and sse4.2 that you can disable.

        Hope it helps[/quote]

        the autocomplete feature in bash shows me that this flag is a valid option, maybe this problem is about how the configure script is written ? also it suggest to use just 1 dash and not the usual double dash -- .

        Try to do

        @../qt-everywhere-opensource-src-5.2.1/configure -[TAB][TAB]@

        and you will see for yourself, it clearly shows some weird options, I don't know if qt is used to do this, but for example prefix is usually composed of --prefix=<path> and not -prefix[WHITESPACE]<path>

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          I'd say that with a script like configure, using auto-complete is not the best idea, the script is really non trivial and is used both for OS X and Linux so you might not get the options correctly.

          Trust --help, you'll have what is available for your OS

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved