www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
content-class: | urn:content-classes:message |
Subject: | RE: Is it possible to convert a ".so" file to a ".a" file? |
MIME-Version: | 1.0 |
Date: | Sun, 27 Oct 2002 12:56:26 -0500 |
Message-ID: | <7BFCE5F1EF28D64198522688F5449D5AD63A84@xchangeserver2.storigen.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Scott Prive" <Scott DOT Prive AT storigen DOT com> |
To: | "Paul Strugnell" <strugnp1 AT cs DOT man DOT ac DOT uk>, <cygwin AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g9RHub530062 |
Paul, I'm not sure if (or how) one might convert a .so to a .a file. You'll get other answers (I'm not one of the list experts that's for sure ;-) But if I understand you correctly, you were given ".so" binary files. You won't be able to just take compiled Linux code and run it in Cygwin: Cygwin is not UNIX.. Cygwin is a UNIX-like wrapper around Windows. Cygwin is not an emulator for Linux binaries. Or maybe I misunderstood. If you have Linux binaries you want to use on a Windows PC, you can *try* re-compiling that code under Cygwin. Assuming a few things, UNIX code generally compiles under Cygwin and gives you a Windows binary. The other thing you can try is Linux emulation under Windows. I don't know if this is the best solution for you but it will give you a true Linux sandbox to play in. If you want an emulator samdbox, try Plex86 (formerly FreeMWare): http://savannah.nongnu.org/projects/plex86 Plex86 is a work-in-progress and I have not tried it. It is FREE and may be what you want. Another choice is FreeMWare, which is not free and not cheap. I happen to like VMware (and have not had time to try plex86 so I don't know how the two compare). Hope this helps, Scott > -----Original Message----- > From: Paul Strugnell [mailto:strugnp1 AT cs DOT man DOT ac DOT uk] > Sent: Sunday, October 27, 2002 9:33 AM > To: cygwin AT cygwin DOT com > Subject: Is it possible to convert a ".so" file to a ".a" file? > > > Hi > > I am trying to work on a University lab exercise from home, > and because my > computer doesn't have Linux I am using Cygwin. The library > files I have > been given are of the ".so" format, which I can't use in > Windows. Can I > convert them to ".a" files? Is there any way at all to do this? > > I am currently using the following command line: > gcc -I/cygdrive/c/labs/CS2021/lab1/incl > -L/cygdrive/c/labs/CS2021/lab1/lib - > lm -lmbrot mandelbrot.c -o m.exe > (where mbrot refers to the shared object file "libmbrot.so" > in the ...../lib > folder) > > Thanks > Paul > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |