[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MXE Octave - How to pass flag to linker?
From: |
Tatsuro MATSUOKA |
Subject: |
Re: MXE Octave - How to pass flag to linker? |
Date: |
Fri, 7 Apr 2017 09:32:08 +0900 (JST) |
----- Original Message -----
> From: mmuetzel
> To: octave-maintainers
> Cc:
> Date: 2017/4/6, Thu 22:36
> Subject: Re: MXE Octave - How to pass flag to linker?
>
> Now the error message changed to the following:
>
> configure:6571: checking whether the C compiler works
> configure:6593: x86_64-w64-mingw32-gcc -DUNICODE -D_UNICODE
> -I/path_to_mxe_octave/usr/x86_64-w64-mingw32/include
> -Wl,-rpath-link,/path_to_mxe_octave/usr/x86_64-w64-mingw32/lib,-municode
> -L/path_to_mxe_octave/usr/x86_64-w64-mingw32/lib
> -L/path_to_mxe_octave/usr/x86_64-w64-mingw32/qt5/lib conftest.c >&5
> /path_to_mxe_octave/usr/bin/x86_64-w64-mingw32-ld: unrecognised emulation
> mode: unicode
> Supported emulations: i386pep i386pe
> collect2: error: ld returned 1 exit status
> configure:6597: $? = 1
> configure:6635: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "GNU Octave"
> | #define PACKAGE_TARNAME "octave"
> | #define PACKAGE_VERSION "4.3.0+"
> | #define PACKAGE_STRING "GNU Octave 4.3.0+"
> | #define PACKAGE_BUGREPORT "http://octave.org/bugs.html"
> | #define PACKAGE_URL "http://www.gnu.org/software/octave/"
> | #define PACKAGE "octave"
> | #define VERSION "4.3.0+"
> | #define OCTAVE_SOURCE 1
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:6640: error: in
> `/path_to_mxe_octave/tmp-default-octave/octave-4.3.0+/.build':
> configure:6642: error: C compiler cannot create executables
>
>
> We might have a case of "you are probably using an old version of gcc that
> does not support this feature." [1]
>
> I will try with gcc 5 that I should have around somewhere and report back.
>
After some investigation, I found what I wrote for -Wl is wrong.
Sorry for the noise.
As you wrote in the bug tracker, John D. will help you.
Tatsuro