Hello, I installed a native windows version of MySQL (4.1.18) and tried to
compile a C program using the MySQL C API using GCC (version 3.3.3 cygwin
special). The program compiles and links without any errors or warnings
(maximum warning level, c99-mode) but segfaults near the end. I haven't bee
Hello, I have three questions that aren't related.
First: Is there a cygwin package that will let me compare two binary files
to see if they are equal?
Second: Is there a way to prevent gcc from adding .exe extension when
building programs? I recall hearing something that win98 needs the .exe, b
"Larry Hall" wrote
At 10:14 AM 12/19/2004, you wrote:
Hello, consider this c++-function:
void
handle_command_line(int argc,
char* const argv[],
bool& verbose,
vector& numbers)
{
const int id_numbers = 4711;
const int id_verbose = 4712;
const
Hello, consider this c++-function:
void
handle_command_line(int argc,
char* const argv[],
bool& verbose,
vector& numbers)
{
const int id_numbers = 4711;
const int id_verbose = 4712;
const int id_help = 4713;
const option long_options[
"Fred Kulack" wrote:
Perhaps I'm untrusting, but I'm not sure I'd expect you to be able to use
a standard C++ library object like string from one C++ binary in Cygwin
to a non-C++ binary.
I.e.
cygwin std::string is probably not the same definition as MSVC
std::string.
Why would it be?
You are mo
On Thu, Dec 02, 2004 at 04:30:56PM +0100, Mikael ?sberg wrote:
Hello, I was under the impression that using a Cygwin-compiled DLL
under MSVC was extremely difficult, if not impossible, but using a
MSVC-compiled DLL with programs compiled under Cygwin is possible? I
have test program that first
On Thu, Dec 02, 2004 at 04:30:56PM +0100, Mikael ?sberg wrote:
Hello, I was under the impression that using a Cygwin-compiled DLL
under MSVC was extremely difficult, if not impossible, but using a
MSVC-compiled DLL with programs compiled under Cygwin is possible? I
have test program that first c
Hello, I was under the impression that using a Cygwin-compiled DLL under
MSVC
was extremely difficult, if not impossible, but using a MSVC-compiled DLL
with
programs compiled under Cygwin is possible? I have test program that first
calls
LoadLibrary() and then for each function in the DLL it wan
"Martin Magnusson" wrote:
I just tried upgrading from g++ 3.3.1 (which currently gives me an
"internal compiler error" on my code) to the 3.4.1 version available from
the Cygwin setup. After doing so, however, I get a flood of error messages
about the many templates I have (such as "template-id xx
On Thu, 23 Sep 2004, Mikael Åsberg wrote:
Hello, I am using the latest Cygwin with all packages updated (running
Windows XP Professional SP2) and I'm having a problem with a simple C++
program that uses the Win32 API to scan a directory (recursively or
non-recursively, depending on user
Hello, I am using the latest Cygwin with all packages updated (running
Windows XP Professional SP2) and I'm having a problem with a simple C++
program that uses the Win32 API to scan a directory (recursively or
non-recursively, depending on user input). The code is as follows:
#include
#includ
Thanks for the reply, Ken. I am indeed programming in a compiled language,
C++ to be more specific. And, yes, English is my second language. Thanks for
pointing out the POSIX fucntion getcwd() to me, it seems to be just what I
was looking for. I didn't have a man page for it, even though I think
What's a Cygwin-function for getting the current directory? I don't want to
use Win32's GetCurrentDirectory(), becuase I am developing a program that I
want to be able to port to Linux with smallest possible effort.
What part of Cygwin's documentation have I failed to notice since I couldn't
ans
Hello, I am using the latest Cygwin under Windows XP Professional. Lately,
I've been playing around with the CVS version of emacs. I wrote a bash
script that is supposed to check out the files and compile. However, it
doesn't work, because the script fails to change directory. Here's the
script:
#!
ates the cygwin gcc distribution. However if a bit of
>research finds that 3.3.3 has something you want then by all means, use it -
>we're not going to stop you. ... Well okay, I'm not going to stop you.
>Gareth
Regards, Mikael Åsberg
--
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/
Hello, I downloaded GCC 3.3.3, built it using GCC 3.3.1 that comes
with Cygwin.
My configure line was:
$ ../gcc-3.3.3/./configure --enable-languages=c,c++ --prefix=/usr/local/gcc-3.3.3
--exec-prefix=/usr/local/gcc-3.3.3
The configure script, make and make install finsihed without any errors.
Whe
- Original Message -
From: "Elfyn McBratney" <[EMAIL PROTECTED]>
To: "cygwin" <[EMAIL PROTECTED]>; "Mikael Åsberg" <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 10:09 PM
Subject: Re: MESA
> > > On Wed, 19 Feb 2003,
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Mikael Åsberg" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 10:09 PM
Subject: Re: MESA
> On Wed, 19 Feb 2003, Mikael Åsberg wrote:
&g
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Mikael Åsberg" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 9:32 PM
Subject: Re: MESA
> On Wed, 19 Feb 2003, Mikael Åsberg wrote:
>
>
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Mikael Åsberg" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 9:16 PM
Subject: Re: MESA
> On Wed, 19 Feb 2003, Mikael Åsberg wrote:
>
>
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Mikael Åsberg" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 9:09 PM
Subject: Re: MESA
> On Wed, 19 Feb 2003, Mikael Åsberg wrote:
>
&
Hello. I just installed Mesa 5.0 onto the latest Cygwin release...the
installation process (./configure, make, make install) went without errors.
However, when I try to build the following simple test program:
#include
int main()
{
glutMainLoop();
return 0;
}
I get the following linking
Hello. I am trying to teach myself basic Open GL programming (using the C
language) and I've run into an annoying problem. Consider the following
simple Open GL-program.
/* simple1_1.c */
#include
void display()
{
glClear( GL_COLOR_BUFFER_BIT );
glBegin( GL_POLYGON );
glVertex2f( -0.5
All problems have been solved, thanks for your help!
// Mikael
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Mikael Åsberg" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 6:09 PM
Subject: RE: Building opengl applications
> On Mon, 20 J
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Mikael Åsberg" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 5:45 PM
Subject: Re: Building opengl applications
> On Mon, 20 Jan 2003, [iso-8859-
Hello, I am trying to build a simple OpenGL program (an example taken from
the famous "Red Book"). However, during the build process the following
error messages are displayed:
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0xe):test.c:
undefined reference to `glEnableClientState@4'
27 matches
Mail list logo