[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] GCL on Windows Server
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] GCL on Windows Server |
Date: |
Fri, 17 Oct 2014 13:06:35 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Greetings! Can you please send me the output of the following shell
commands?
echo "#include \"gmp.h\"" >foo.c
echo "int main() {return 0;}" >>foo.c
cpp foo.c
cpp foo.c | $AWK '/(\/|\\\\)gmp.h/ {if (!i) print $3;i=1}' | tr -d '"'
Take care,
"William N." <address@hidden> writes:
> Simply ./configure. Should I be adding any particular flags?
>
> Regards,
> Will
>
> On Fri, Oct 17, 2014 at 9:12 AM, Camm Maguire <address@hidden> wrote:
>
> Greetings, and thanks so much for your report! How did you invoke
> configure?
>
> Take care,
>
> "William N." <address@hidden> writes:
>
> > Thanks, I did just that and it appears to be detected in the
> configuration step but unfortunately it did not affect the outcome (make fails
> with
> > the same error).
> > Here's the updated configure log:
> > http://pastebin.com/FFxnfUra
> > I noticed it does complain of an error:
> >
> > checking whether CC accepts -g... no
> > checking how to run the C++ preprocessor... /lib/cpp
> > -->configure: error: in `/c/_git/gcl/gcl/gmp4':
> > checking for g77... no
> > checking for xlf... no
> >
> > But it's unclear from the context what exactly the error was or whether
> this is the culprit for the build failure.
> > Per request here is gmp4/gmp-impl.h
> > http://pastebin.com/FA9tbtGD
> > Any further suggestions?
> >
> > Regards,
> > Will
> >
> > On Wed, Oct 1, 2014 at 9:02 AM, Camm Maguire <address@hidden> wrote:
> >
> > Greetings!
> >
> > First, to get going quickly, I recommend you install mingw's
> gmp-dev (or
> > maybe libgmp-dev) package. GCL will happily use this library when
> > available and avoid trying to compile a copy on its own, which is
> where
> > your build is failing.
> >
> > If you need to pursue the local gmp build, please also post
> > gmp4/gmp-impl.h.
> >
> > Take care,
> >
> > "William N." <address@hidden> writes:
> >
> > > Thanks for your response. Yes, I am using MinGW in the exact
> manor outlined here:
> > >
> http://lists.gnu.org/archive/html/gcl-devel/2013-11/pdf7uINyFPm2S.pdf
> > >
> > > Here's the configure output:
> > > http://pastebin.com/SuBrRp99
> > > And the make output:
> > > http://pastebin.com/gfzmtZkk
> > >
> > > Advice appreciated!
> > >
> > > Regards,
> > > Will
> > >
> > > On Tue, Sep 30, 2014 at 9:08 AM, Camm Maguire <address@hidden>
> wrote:
> > >
> > > Greetings! Recent GCL releases are tested on Windows 7 under
> mingw and
> > > cygwin, both of which are 32bit environments to my
> understanding. Are
> > > you using either of these? If so, if you could please post
> your full
> > > configure and build log, we can take it from there.
> > >
> > > Take care,
> > >
> > > "William N." <address@hidden> writes:
> > >
> > > > Hello,
> > > > I am trying to use GCL on 64-bit Windows Server 2012 but so
> far am having no luck. I was hoping someone might have already had
> success
> > in
> > > this
> > > > area and may be able to help me along.
> > > >
> > > > I first tried using the version that I've had great success
> with in 64-bit Windows 7, obtained here:
> > > > http://www.cs.utexas.edu/users/novak/gclwin.html
> > > > Unfortunately it seems unable to load compiled binaries
> when run on Server 2012. If I have a file test.lsp that contains simply:
> > > > (format t "~% ahoy")
> > > > I am able to run this without issue:
> > > > (load "c:/test.lsp")
> > > >
> > > > However, building and then loading the resulting binary
> fails and this is key functionality for me:
> > > >
> > > >>>(compile-file "c:/test.lsp")
> > > >
> > > > Compiling c:/test.lsp.
> > > > End of Pass 1.
> > > > End of Pass 2.
> > > > OPTIMIZE levels: Safety=0 (No runtime error checking),
> Space=0, Speed=3
> > > > Finished compiling c:/test.lsp.
> > > > #p"/test.o"
> > > >>>(load "c:/test.o")
> > > >
> > > > Loading c:/test.o
> > > >
> > > > Error: Caught fatal error [memory may be damaged]
> > > > Fast links are on: do (si::use-fast-links nil) for debugging
> > > > Error signalled by EVALHOOK.
> > > > Backtrace: system:universal-error-handler > evalhook > LOAD
> > > >
> > > > My next effort was to try building the latest version of
> GCL using the excellent guide put together by Don Winiecki.
> Unfortunately I
> > was not
> > > able
> > > > to get it to make. Error as follows:
> > > >
> > > > divis.c: In function '__gmpn_divisible_p':
> > > > divis.c:74:3: error: 'TMP_DECL' undeclared (first use in
> this function)
> > > > TMP_DECL;
> > > > ^
> > > > divis.c:74:3: note: each undeclared identifier is reported
> only once for each function it appears in
> > > > divis.c:139:3: error: 'TMP_MARK' undeclared (first use in
> this function)
> > > > TMP_MARK;
> > > > ^
> > > > divis.c:141:3: warning: implicit declaration of function
> 'TMP_ALLOC' [-Wimplicit-function-declaration]
> > > > rp = TMP_ALLOC_LIMBS (asize+1);
> > > > ^
> > > > divis.c:152:4: error: 'TMP_FREE' undeclared (first use in
> this function)
> > > > TMP_FREE;
> > > >
> > > > That's where I've left off. Anyone have any pointers?
> > > >
> > > > Regards,
> > > > Will
> > > >
> > > > _______________________________________________
> > > > Gcl-devel mailing list
> > > > address@hidden
> > > > https://lists.gnu.org/mailman/listinfo/gcl-devel
> > >
> > > --
> > > Camm Maguire
> address@hidden
> > >
> ==========================================================================
> > > "The earth is but one country, and mankind its citizens." --
> Baha'u'llah
> > >
> >
> > --
> > Camm Maguire address@hidden
> >
> ==========================================================================
> > "The earth is but one country, and mankind its citizens." --
> Baha'u'llah
> >
>
> --
> Camm Maguire address@hidden
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah