DLL's

2005-01-14 Thread Barthel, Mattias
Hello!

I am compiling stuff on cygwin but with -mno-cygwin
to make the produced software independent of cygwin itself.

The DLL's that you can download from the setup of cygwin 
are all dependent of cygwin1.dll?

I would like to use for example lcms that you can install
directly over the network from cygwin's webpage. 
On the home page of little cms there is also a windows DLL to download.
The thing is when trying to link my program towards the
pure windows DLL I get undefined references and also nm says
no symbols found over that DLL.
The linkeage towards the DLL's from cygwin works well
But I am afraid that I have achieved nothing but a 
cygwin dependent program then.

Any help greatly appreceiated.

/Mattias



--
Mattias Barthel, Software Engineer
CapGemini at Hewlett Packard
Tel. 34 93 582 26 02
E-mail: [EMAIL PROTECTED] 

--
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/



Compile within cygwin with -mnocygwin

2004-12-01 Thread BARTHEL, MATTIAS
Hello

I am trying to compile a perl swig1.3 wrapper for a C++ lib
using cygwin but with the compiler define -mno-cygwin.

In perl.h there are lots of includes that cannot be found.

Should I put some special define in the Makefile to use another
Path for includes?

Thanks,

Mattias

Output:

c++ -DHAVE_CONFIG_H -I. -I. -I../config -I../include
-I/c/Python22/include -I/us
r/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE -g -O2 -DWINSOCK_2
-mno-cygwin
-DSWIG_GLOBAL_MAPPING -D_HOST_LITTLE_ENDIAN
-D_BK_LIBRARY=\/usr/local/lib/vh/li
bvhcore.so\ -L//c/SWIG-1.3.19/Lib -lswigpl -Wp,-MD,.deps/vhcore_wrap.pp
-c vhco
re_wrap.cpp  -DDLL_EXPORT -DPIC
In file included from vhcore_wrap.cpp:251:
/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:637:27:
netinet/in.h:
 No such file or directory
/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:641:26:
arpa/inet.h:
No such file or directory
/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:687:27:
sys/times.h:
No such file or directory
/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:838:30:
sys/ioctl.h:
No such file or directory
/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:1274:23:
ieeefp.h: No
 such file or directory
/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:2056:31:
win32thread.
h: No such file or directory
/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:2086:21:
win32.h: No
such file or directory
In file included from
/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h
:2350,
 from vhcore_wrap.cpp:251:

--
Mattias Barthel, Software Engineer
CapGemini at Hewlett Packard Spain
Tel. 34 93 582 26 02
E-mail: [EMAIL PROTECTED] 

--
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/



Compiling a DLL

2004-12-01 Thread BARTHEL, MATTIAS
Hello.

What are the procedures for compiling a DLL without using the Cygwin
DLL?


/Mattias

--
Mattias Barthel, Software Engineer
CapGemini at Hewlett Packard
Tel. 34 93 582 26 02
E-mail: [EMAIL PROTECTED] 

--
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/