qcc libtool and cygwin

Hello,

I installed the Momentics IDE in Windows and am trying to get our
group’s software to compile. We have been using
automake/autoconf/libtool. I downloaded cygwin and installed the
automake/autoconf/libtool packages. I am able to autogen.sh and
configure. I am able to build libraries, but only statically. I
believe this is because cygwin’s libtool doesn’t support shared
libraries. The check for qcc’s ability to link shared libraries passes.
Does anyone know how to work around this so that I can compile shared
libraries using automake?

Alec

Alec Gorjestani <alecg@me.umn.edu> wrote:

Hello,

I installed the Momentics IDE in Windows and am trying to get our
group’s software to compile. We have been using
automake/autoconf/libtool. I downloaded cygwin and installed the
automake/autoconf/libtool packages. I am able to autogen.sh and
configure. I am able to build libraries, but only statically. I
believe this is because cygwin’s libtool doesn’t support shared
libraries. The check for qcc’s ability to link shared libraries passes.
Does anyone know how to work around this so that I can compile shared
libraries using automake?

Just to check, are you trying to setup auto*/libtool to do cross-compiles
under Windows using qcc?

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Yes. I use the --host=x86 option for the configure script. We use
auto*/libtool in QNX and everything builds fine there. I just want to
see if this is possible in Windows.

Alec


Chris McKillop wrote:

Alec Gorjestani <> alecg@me.umn.edu> > wrote:

Hello,

I installed the Momentics IDE in Windows and am trying to get our
group’s software to compile. We have been using
automake/autoconf/libtool. I downloaded cygwin and installed the
automake/autoconf/libtool packages. I am able to autogen.sh and
configure. I am able to build libraries, but only statically. I
believe this is because cygwin’s libtool doesn’t support shared
libraries. The check for qcc’s ability to link shared libraries passes.
Does anyone know how to work around this so that I can compile shared
libraries using automake?




Just to check, are you trying to setup auto*/libtool to do cross-compiles
under Windows using qcc?

chris

Alec Gorjestani <alecg@me.umn.edu> wrote:

Yes. I use the --host=x86 option for the configure script. We use
auto*/libtool in QNX and everything builds fine there. I just want to
see if this is possible in Windows.

:slight_smile: On QNX you aren’t cross compiling though. I have never done a cross
build with auto*/libtool stuff, so I am sure there will be gotchas. However,
the main thing is that libtool on QNX has been patched to include support
and understanding for QNX. This won’t be in your libtool on Windows. Since
libtool is just a bunch of scripts you could probably just copy the files
from your QNX machine over to your Windows box to test.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/