gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] running program compiled by GCL via Wine


From: Camm Maguire
Subject: Re: [Gcl-devel] running program compiled by GCL via Wine
Date: Sat, 19 Oct 2013 07:55:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Greetings!

Robert Dodier <address@hidden> writes:

> OK, I've now configured binfmts to recognize Windows binaries
> by magic number [1] and now I get somewhat farther.

Great!  Haven't used this method, but hope its the same.

> Now I'm running into an error that ieeefp.h is not found.
> It isn't in gcl and it isn't in mingw32 or any other package that
> I can find. ieeefp.h is used only in configure -- it is not included
> in any gcl code, from what I can tell. Advice? I've attached config.log.
>

Now I think you've forgotten to export your CC and PATH variables as
explained in README.wine.

I have

configure:3522: checking for C compiler version
configure:3531: /usr/bin/i586-mingw32msvc-gcc --version >&5
i586-mingw32msvc-gcc (GCC) 4.2.1-sjlj (mingw32-2)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

You have

configure:3527: checking for C compiler version
configure:3536: gcc --version >&5
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


I have

configure:7759: checking for isnormal
configure:7784: /usr/bin/i586-mingw32msvc-gcc -o conftest.exe      -Wl,-T 
gcl.script  conftest.c  -lm -lmingwex >&5
configure:7784: $? = 0
configure:7784: ./conftest.exe
configure:7784: $? = 0
configure:7787: result: yes

You have

configure:9236: checking for isnormal
configure:9260: gcc -o conftest      -Wl,-T gcl.script  conftest.c  >&5
/tmp/ccYE0adP.o: In function `main':
conftest.c:(.text+0x11): undefined reference to `__fpclassifyf'
conftest.c:(.text+0x22): undefined reference to `__fpclassifyf'
collect2: ld returned 1 exit status
configure:9260: $? = 1

Please let me know if problems persist.  You are very close.  I think if
you can get through configure you're basically there.

You of course need the mingw compiler packages installed:

(sid_amd64)address@hidden:~/debian/gcl/git/gg/gcl/gcl/gmp4$ dpkg -l |grep  mingw
ii  gdb-mingw-w64                   7.6-4+7              amd64                
Cross-debugger for Win32 and Win64 using MinGW-w64
ii  gdb-mingw-w64-target            7.6-4+7              all                  
Cross-debugger server for Win32 and Win64 using MinGW-w64
ii  mingw-w64-dev                   3.0~svn5915-1        all                  
Development files for MinGW-w64 (transitional package)
ii  mingw-w64-i686-dev              3.0.0-2              all                  
Development files for MinGW-w64 targeting Win32
ii  mingw-w64-tools                 3.0.0-2              amd64                
Development tools for 32- and 64-bit Windows
ii  mingw-w64-x86-64-dev            3.0~svn5915-1        all                  
Development files for MinGW-w64 targeting Win64
ii  mingw32                         4.2.1.dfsg-2         amd64                
Minimalist GNU win32 (cross) compiler
ii  mingw32-binutils                2.20-0.2             amd64                
Minimalist GNU win32 (cross) binutils
ii  mingw32-runtime                 3.13-1               all                  
Minimalist GNU win32 (cross) runtime

I think only the last three are necessary.

Take care,


> best
>
> Robert Dodier
>
> [1]
> # cd /proc/sys/fs/binfmt_misc
> # echo ':DOSWin:M::MZ::/usr/local/bin/wine:' > register
>

-- 
Camm Maguire                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]