[Top][All Lists]

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

Re: libtool shared libraries support on skyos

From: Peter Speybrouck
Subject: Re: libtool shared libraries support on skyos
Date: Sat, 18 Mar 2006 12:55:42 +0100

1) I think you can compare it to cygwin. SkyOS mimics parts of the
unix type disk layout (/usr /bin, ...) with symlinks.

2) to make a dll from a static library, I can use the following script:
i386-skyos-pe-gcc -shared address@hidden -o address@hidden
i386-skyos-pe-dlltool --export-all-symbols --output-def address@hidden 
i386-skyos-pe-dlltool --input-def address@hidden --output-lib address@hidden
--dllname address@hidden

which takes as argument the name of the lib (fe: libxml2)
You need to add the libraries that it links to at the end of the first line.
This is in cygwin with the crosscompiler. For compiling in skyos, just
drop the i386-skyos-pe. The page you found on the website is also a
basic example of how to make a dll directly.

3) This page: could be of interest,
it shows how to install the crosscompiler in cygwin. You will also
need the SDK to be able to actually compile it. I can send it to you
if needed.

4) I put Robert (author of SkyOS) in CC so he gets this as well, he
will be able to answer your questions about the linker.

5) I will have a look at doing it myself but since I have never looked
at it before, I might not be able to.

6) SSH access is not possible since the openssl port doesn't work. VNC
access should be possible, but I cannot provide you with that. However
there might be someone on irc who can do this.

7) for direct answers from Robert, it could be interesting to join
#skyos on He is usually there in the evening
(european time)

Thanks for the info so far,

On 3/17/06, Ralf Wildenhues <address@hidden> wrote:
> Hi Peter,
> * Peter Speybrouck wrote on Fri, Mar 17, 2006 at 05:24:13PM CET:
> >
> > I am actually not familiar with using libtool myself, but there is
> > something that bothers me and I would like to know how I can fix it.
> >
> > Here's the thing:
> > * Platform: SkyOS, (, nothing to do with linux or unix
> > in case you wondered
> > * configure:
> > configure:9287: checking if libtool supports shared libraries
> > configure:9289: result: no
> > So libtool does not support shared libraries on skyos.
> That's right.  Libtool has not yet been ported to SkyOS.
> Is it similar to Cygwin or some other w32 system?
> > * What do I need to do/find out to get libtool to support shared
> > libraries on this platform?
> Depends on whether you want to do the port yourself or want somebody
> else to do it for you.  For the former, it's helpful to study the
> Libtool documentation, and then dive into libtool.m4 and search for
> PORTMEs.  Then add corresponding sections there.  The file may look
> a bit (warning -- understatement!) confusing, if you have questions
> feel free to ask.
> If the latter: we could do such a port, probably.  It will likely take a
> little while until I could get to it -- I've a backlog of other stuff.
> In any case, providing good, detailed documentation helps a lot.  About
> the system, the linker, the runtime loader, library path and library
> naming conventions, versioning, inter-library dependency handling, etc.
> It helps to copy off of a similar system.
> I found this: but that is very terse,
> to say the least.
> For testing, shell (ssh) access to a system would help enormously.
> If that is not possible, someone with some patience and willingness to
> run test suites helps, too.  :-)
> > * I can manually make dll files, but it would be nice if libtool could
> > do this for me
> Show us how.  Is there a way to work around the command line length
> limit (if there is one) in the linker, like response files, or linker
> scripts?
> Cheers,
> Ralf

reply via email to

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