Re: linker error libcygwin

2011-11-13 Thread Philipp Kraus
On 2011-11-13 12:43:37 +0100, Philipp Kraus said: On 2011-11-11 01:57:48 +0100, Greg Chicares said: On 2011-11-10 21:22Z, Philipp Kraus wrote: On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: undefined reference to `_WinMain@16' collect

Re: linker error libcygwin

2011-11-13 Thread Philipp Kraus
On 2011-11-11 01:57:48 +0100, Greg Chicares said: On 2011-11-10 21:22Z, Philipp Kraus wrote: On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: undefined reference to `_WinMain@16' collect2: ld returned 1 exit status Does this thread

Re: linker error libcygwin

2011-11-11 Thread Philipp Kraus
On 2011-11-11 01:57:48 +0100, Greg Chicares said: On 2011-11-10 21:22Z, Philipp Kraus wrote: On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: undefined reference to `_WinMain@16' collect2: ld returned 1 exit status Does this thread

Re: linker error libcygwin

2011-11-10 Thread Philipp Kraus
On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: I try to build a program with g++ under Cygwin. I added this libraries to the linker: -lcygboost_system Shouldn't that be '-lboost_system'? Run 'info ld' and search for '--dll-search-prefix': 'cyg-

Re: linker error libcygwin

2011-11-10 Thread Philipp Kraus
On 2011-11-10 22:04:33 +0100, Marco Atzeri said: On 11/10/2011 9:39 PM, Kraus Philipp wrote: Hello, I try to build a program with g++ under Cygwin. I added this libraries to the linker: -lcygboost_system -lcygboost_thread -lcygboost_iostreams -lcygboost_regex -lcygboost_program_options -lboo

Re: gcj exception compiling

2011-11-06 Thread Philipp Kraus
On 2011-11-07 03:05:48 +0100, Yaakov (Cygwin/X) said: On Sun, 2011-11-06 at 21:16 +0100, Philipp Kraus wrote: If I try to compile a java code with "gcj mysource.java" I get the error: /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined re

Re: gcj exception compiling

2011-11-06 Thread Philipp Kraus
On 2011-11-06 02:28:12 +0100, Yaakov (Cygwin/X) said: On Sat, 2011-11-05 at 19:13 +0100, Kraus Philipp wrote: Hello, I try to build a Java class with the gcj under Cygwin. I get this error message: Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.inter nal.compil

Re: g++ linker problem with libcygwin.a

2011-10-23 Thread Philipp Kraus
On 2011-10-23 01:37:19 +0200, René Berber said: On 10/22/2011 6:28 PM, René Berber wrote: I also don't know what it is [libcygwin.a] Looking at where it came from, libg.a is a symlink to this one, and libg is known as "special debugging-enabled C library". Still don't know what its doing in

Re: g++ linker problem with libcygwin.a

2011-10-23 Thread Philipp Kraus
On 2011-10-23 01:28:37 +0200, René Berber said: I'm not sure why this static library is pulled. yes *g* that my problem also. My cygwin g++ / ld links it automatically Phil -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

Re: g++ linker problem with libcygwin.a

2011-10-22 Thread Philipp Kraus
On 2011-10-22 23:43:32 +0200, René Berber said: On 10/22/2011 3:37 PM, Philipp Kraus wrote: [snip] error is created again. Should I rebuild my libraries with the -mconsole option, at the time I have build them only with configure, make, make install? You can check which libraries have a

Re: g++ linker problem with libcygwin.a

2011-10-22 Thread Philipp Kraus
Thanks for your great answer. On 2011-10-22 22:17:06 +0200, René Berber said: On 10/22/2011 2:18 PM, Philipp Kraus wrote: I use Cygwin with g++ for compiling my source codes and on some codes I get the error: /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9

g++ linker problem with libcygwin.a

2011-10-22 Thread Philipp Kraus
Hello, I use Cygwin with g++ for compiling my source codes and on some codes I get the error: /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16' I link my sources to libraries like Boost, Atlas, LAPack... All codes can be c

Re: compiling with visual studio

2011-07-01 Thread Philipp Kraus
On 2011-07-01 22:31:14 +0200, Tim Prince said: On 07/01/2011 09:22 AM, Kraus Philipp wrote: Hello, I'm new with cygwin and hope my question is not off topic. I try to port a C++ framwork to Windows. The framework uses Atlas and LAPack, libxml (with libiconv and zlib) and GiNaC with CLN. So