Menu

#11 Compiling STLPort 5.2.1 on Solaris v9

open
nobody
9
2012-07-10
2012-07-10
No

I have Solaris v9 running in 64-bit mode. I downloaded STLPort 5.2.1 for Solaris, and unzipped it using tar command, and now I am trying to compile it for 32-bit mode. I get the same error as mentioned in this article. I am trying to do ./configure with relevant options for cross-compile followed by gmake.

Discussion

  • Mukesh Mishra

    Mukesh Mishra - 2012-07-10

    $ cd STLport-5.2.1
    $ CC=cc
    $ CXX=CC
    $ CFLAGS="-Xa -xO2 -xipo=2 -mt -KPIC"
    $ CXXFLAGS="-xO2 -mt -KPIC"
    $ CFLAGS="$CFLAGS -xtarget=native -m32 -xarch=native"
    $ CXXFLAGS="$CXXFLAGS -xtarget=native -m32 -xarch=native"
    $ export CC CFLAGS
    $ export CXX CXXFLAGS
    $ ./configure --use-compiler-family=CC --with-extra-cxxflags=" -xO2 -mt -KPIC -xtarget=native -m32 -xarch=native" --with-extra-cflags=" -Xa -xO2 -xipo=2 -mt -KPIC -xtarget=native -m32 -xarch=native"
    $ gmake
    gmake -C build/lib all;
    gmake: *** No rule to make target `obj/gcc/so/libstlport.so.5.2.1', needed by `release-shared'. Stop.

     
  • Mukesh Mishra

    Mukesh Mishra - 2012-07-10
    • priority: 5 --> 9
     
  • Mukesh Mishra

    Mukesh Mishra - 2012-07-10

    $ cd STLport-5.2.1
    $ CC=cc
    $ CXX=CC
    $ CFLAGS="-Xa -xO2 -xipo=2 -mt -KPIC"
    $ CXXFLAGS="-xO2 -mt -KPIC"
    $ CFLAGS="$CFLAGS -xtarget=native -m32 -xarch=native"
    $ CXXFLAGS="$CXXFLAGS -xtarget=native -m32 -xarch=native"
    $ export CC CFLAGS
    $ export CXX CXXFLAGS
    $ ./configure --use-compiler-family=CC --with-extra-cxxflags=" -xO2 -mt -KPIC -xtarget=native -m32 -xarch=native" --with-extra-cflags=" -Xa -xO2 -xipo=2 -mt -KPIC -xtarget=native -m32 -xarch=native"
    $ gmake
    gmake -C build/lib all;
    gmake: *** No rule to make target `obj/gcc/so/libstlport.so.5.2.1', needed by `release-shared'. Stop.

     

Log in to post a comment.