chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] build on Windows with cygwin


From: Shawn Rutledge
Subject: Re: [Chicken-users] build on Windows with cygwin
Date: Tue, 18 Sep 2007 10:32:32 -0700

On 9/18/07, felix winkelmann <address@hidden> wrote:
> What makefile did you use?

Makefile.mingw

On 9/18/07, felix winkelmann <address@hidden> wrote:
> On 9/18/07, Shawn Rutledge <address@hidden> wrote:
> >
> > That link says it can build against either cygwin or mingw.  If I do
> > not use -mno-cygwin, it complains about not finding direct.h.
>
> Depending on the makefile (a piece of information I need before
> I can say much more), this may be caused by other reasons.
>
> > So for the kind of successful testing that has been going on with
> > Chicken, you use the separate mingw package from their page, rather
> > than cygwin?
>
> I just hope the former part of the sentence is not meant ironically...

No not at all; simply that it is posted on the new wiki page about
supported systems that it works with Windows and mingw.

> (there has not been any testing. Cygwin is currently not supported, since
> nobody has responded to my inquiries about a 2.6 cygwin build log)

I must have missed that; can't seem to find it right now either.  Was
it recently?

I saw another hint when I googled that I might have better luck with
-O0 rather than -Os.  I tried that and got it down to just these link
errors:

gcc -shared -Wl,--out-implib,libchicken.dll.a \
          -o libchicken.dll library.o eval.o extras.o lolevel.o
utils.o tcp.o srfi-1.o srf...
library.o:library.c:(.text+0x30856): undefined reference to `__errno'
library.o:library.c:(.text+0x5dbff): undefined reference to `__errno'
library.o:library.c:(.text+0x5e09a): undefined reference to `__errno'
library.o:library.c:(.text+0x61551): undefined reference to `__errno'
tcp.o:tcp.c:(.text+0x37d8): undefined reference to `__errno'
tcp.o:tcp.c:(.text+0x3b78): more undefined references to `__errno' follow
posixwin.o:posixwin.c:(.text+0xed): undefined reference to `__findfirst'
posixwin.o:posixwin.c:(.text+0x162): undefined reference to `__findclose'
posixwin.o:posixwin.c:(.text+0x1b4): undefined reference to `__findnext'
posixwin.o:posixwin.c:(.text+0x326): undefined reference to `__errno'
posixwin.o:posixwin.c:(.text+0xed2): undefined reference to `__open_osfhandle'
posixwin.o:posixwin.c:(.text+0x1329): undefined reference to `__imp__daylight'
posixwin.o:posixwin.c:(.text+0x14a5): undefined reference to `___p__environ'
posixwin.o:posixwin.c:(.text+0x12153): undefined reference to `__flushall'
runtime.o:runtime.c:(.text+0x1cf1): undefined reference to `__imp___iob'
runtime.o:runtime.c:(.text+0x1d2e): undefined reference to `__imp___iob'
runtime.o:runtime.c:(.text+0x21ab): undefined reference to `__assert'
runtime.o:runtime.c:(.text+0x243d): undefined reference to `__assert'
runtime.o:runtime.c:(.text+0x246d): undefined reference to `__assert'
runtime.o:runtime.c:(.text+0x3946): undefined reference to `__assert'
runtime.o:runtime.c:(.text+0x3fd6): undefined reference to `__assert'
runtime.o:runtime.c:(.text+0x4ce4): more undefined references to
`__assert' follow
runtime.o:runtime.c:(.text+0x584b): undefined reference to `__imp___iob'
runtime.o:runtime.c:(.text+0x5862): undefined reference to `__imp___iob'
runtime.o:runtime.c:(.text+0x5e1b): undefined reference to `__imp___iob'
runtime.o:runtime.c:(.text+0x5e5d): undefined reference to `__imp___iob'
runtime.o:runtime.c:(.text+0x5e8d): undefined reference to `__imp___iob'
runtime.o:runtime.c:(.text+0x5eba): more undefined references to
`__imp___iob' follow
runtime.o:runtime.c:(.text+0x2c0ea): undefined reference to `__errno'
runtime.o:runtime.c:(.text+0x2c125): undefined reference to `__errno'
runtime.o:runtime.c:(.text+0x2c142): undefined reference to `__errno'
runtime.o:runtime.c:(.text+0x2c16f): undefined reference to `__errno'
runtime.o:runtime.c:(.text+0x2c17f): undefined reference to `__errno'
runtime.o:runtime.c:(.text+0x2c1c1): more undefined references to
`__errno' follow
Creating library file: libchicken.dll.a
collect2: ld returned 1 exit status
make[1]: *** [libchicken.dll] Error 1
make[1]: Leaving directory `/cygdrive/c/src/chicken-2.709'
make: *** [all] Error 2




reply via email to

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