stock cygwin + QXN 6.3 + Eclipse 3.0 in winXP

Hi…

OS: windowsXP professional
QNX: Momentics -PE v.6.3.0
Eclipse: 3.0
cygwin: http://www.redhat.com/download/cygwin.html


I installed cgywin and Eclise 3.0 + CDT tools for WindowsXP host. I also
have Momentics PE - v.3.0 in the system. Momentics behaves well, no
problems there. All things QNX work properly.

However, when I try to use Eclipse 3.0 with the CDT tools + cygwin
toolchain, Eclipse CDT tools reply that I have to cygwin1.dll (which I
indeed have), and it refuses to do any thing. I have changed the path
to point only to cygwin (i.e. g++, make, etc), but Eclipse still
complains. Any suggestions?

Thanks.

Regards…

Miguel.

Miguel Simon wrote:

Hi…

OS: windowsXP professional
QNX: Momentics -PE v.6.3.0
Eclipse: 3.0
cygwin: > http://www.redhat.com/download/cygwin.html


I installed cgywin and Eclise 3.0 + CDT tools for WindowsXP host. I also
have Momentics PE - v.3.0 in the system. Momentics behaves well, no
problems there. All things QNX work properly.

However, when I try to use Eclipse 3.0 with the CDT tools + cygwin
toolchain, Eclipse CDT tools reply that I have to cygwin1.dll (which I
indeed have), and it refuses to do any thing. I have changed the path
to point only to cygwin (i.e. g++, make, etc), but Eclipse still
complains. Any suggestions?

Ah…the joy of cygwin. You’ve installed a newer version of the dll
than we ship, therefore you’re getting a collision. On windows, the
dlls are found in the same directory as the binary so the path won’t
help. What I do is just copy the newer cygwin1.dll (in your
c:/cygwin/bin directory) over top of the one we ship
(c:/QNX630/host/win32/x86/usr/bin) and just let our tools run with that
one. I haven’t had a problem yet. Works for me, use at your own risk,
and so forth, etc.

cheers,

Kris

Hi Kris…

Great. Thanks for your help here.

Your response seems to indicate that QNX runs an untouched cygwin
version of its dll. Is this the case? I thought that perhaps QNX used a
custom version of the cygwin.dll library.

I did take QNX from the path, and QNX Momentics still compiles fine.
This is very refreshing. Thanks. Now, are there any side effects when I
take QNX from the windows path (I have notice none)?

I will do what you suggest since this seems to be a better option.

Thanks again…

Regards…

Miguel.


Kris Warkentin wrote:

Miguel Simon wrote:

Hi…

OS: windowsXP professional
QNX: Momentics -PE v.6.3.0
Eclipse: 3.0
cygwin: > http://www.redhat.com/download/cygwin.html


I installed cgywin and Eclise 3.0 + CDT tools for WindowsXP host. I
also have Momentics PE - v.3.0 in the system. Momentics behaves well,
no problems there. All things QNX work properly.

However, when I try to use Eclipse 3.0 with the CDT tools + cygwin
toolchain, Eclipse CDT tools reply that I have to cygwin1.dll (which I
indeed have), and it refuses to do any thing. I have changed the path
to point only to cygwin (i.e. g++, make, etc), but Eclipse still
complains. Any suggestions?


Ah…the joy of cygwin. You’ve installed a newer version of the dll
than we ship, therefore you’re getting a collision. On windows, the
dlls are found in the same directory as the binary so the path won’t
help. What I do is just copy the newer cygwin1.dll (in your
c:/cygwin/bin directory) over top of the one we ship
(c:/QNX630/host/win32/x86/usr/bin) and just let our tools run with that
one. I haven’t had a problem yet. Works for me, use at your own risk,
and so forth, etc.

cheers,

Kris