chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] MinGW and Cygwin build now


From: Brandon J. Van Every
Subject: Re: [Chicken-users] MinGW and Cygwin build now
Date: Fri, 04 Aug 2006 10:44:42 -0700
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

John Cowan wrote:
Brandon J. Van Every scripsit:

  
Well I guess the "link to cygchicken.dll" method doesn't work, and I was 
too bored to check my work.  I suppose that's an argument for automated 
builds, that it relieves some burden from bored programmers.  But 
putting such automated systems together is also boring, so it's a wash.  
Anyways I've reversed it back to the "link to libchicken-0.dll.a" 
method, which was working before.  Tested and pushed to Darcs.
    

Alas, not tested enough:

$ csc -s x.scm
x.c:1: warning: -fPIC ignored for target (all code is position independent)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lchicken
collect2: ld returned 1 exit status
*** Shell command terminated with exit status 1: /usr/bin/gcc.exe x.o -lchicken -o x.dll -fPIC -shared -L/usr/local/lib -Wl,-R/usr/local/lib  -lchicken

  

It's working on my box.  So, I suppose I'll finally need to implement an uninstall to make sure everything is clean.  Maybe a testing script too.


Cheers,
Brandon Van Every


reply via email to

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