RE: Code using archive file that compiles with g++ on linux but gives linking problem with g++ on cygwin

2006-06-14 Thread Dave Korn
On 14 June 2006 19:01, Ganesh Ramakrishnan wrote: > I have an archive libminipar.a. I have a C++ program pdemo.cpp that > makes use it. > ...When I compile the program on linux, I get no errors. > However, when I compile it on cygwin using g++ version 3.4.4, I get > the following linkin

Code using archive file that compiles with g++ on linux but gives linking problem with g++ on cygwin

2006-06-14 Thread Ganesh Ramakrishnan
Hi I have an archive libminipar.a. I have a C++ program pdemo.cpp that makes use it. I am pasting the contents of the makefile at the end of this email. When I compile the program on linux, I get no errors. However, when I compile it on cygwin using g++ version 3.4.4, I get the following linking

Re: problem with g++ on cygwin

2005-10-20 Thread community help
Hi, I'm sorry. After your answer i realised that my message should be posted on a c/c++ mailing list not in this one. Sorry again --- Eric Blake <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to community help on 10/20/2005 7:06 AM: > > Hi, > > > >

Re: problem with g++ on cygwin

2005-10-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to community help on 10/20/2005 7:06 AM: > Hi, > > I'm using g++ on cygwin for developping some c++ > programs. > > I noticed that everytime i manipulate pointers i have > an error saying: > "Segmentation Fault ". Well, it's because you ar

problem with g++ on cygwin

2005-10-20 Thread community help
Hi, I'm using g++ on cygwin for developping some c++ programs. I noticed that everytime i manipulate pointers i have an error saying: "Segmentation Fault ". An other file is added to the working directory. If i compile with the following: g++ -o file_name file_name.cc i have a file_name.exe but