delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/16/11:05:39

X-Spam-Check-By: sourceware.org
Message-ID: <89c3ea2b0612160805w5d83e536o510f2f0a1317e77d@mail.gmail.com>
Date: Sat, 16 Dec 2006 11:05:19 -0500
From: "andy wang" <ypwangreg AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to compile the .so to allow extern functions
In-Reply-To: <45838A0F.82A8B52B@dessent.net>
MIME-Version: 1.0
References: <89c3ea2b0612152114u5150ecfara058c41a00a70dac AT mail DOT gmail DOT com> <45838A0F DOT 82A8B52B AT dessent DOT net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Thanks Brain, thank you very much.
Your information is totally a guide to compile .so on the cygwin.

I ask this question because I just want to compile the asterisk 1.4
beta on the cygwin for fun, I don't care about the zaptel driver or
pstn connection, I just want the networking part of it, especially
chan_sip and dial-plan. I know it will be a huge project for me,  but
fun will make it easier and interesting. and I also can ask wired
questions on the list.

I don't dig deeply enough to it but from what I know currently the
architecture of asterisk is just dlopen, and all of its sub-systems
are wrapped into .so(linux), so for this special case I think it's
safe to keep the extension to .so because these library will be opened
only by dlopen.

also I found the following links from your tips:
ld and WIN32 (cygwin/mingw)
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gnu-linker/win32.html
UNIX Application Migration Guide
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnucmg/html/UCMGch09.asp

Regards,
Andy

On 12/16/06, Brian Dessent <brian AT dessent DOT net> wrote:
> andy wang wrote:
>
> > I want to compile a .so which contains extern function that may be
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019