Re: Help with strange compiler error linking to GSL

2007-07-05 Thread Lee Rhodes
Lewis, Thanks! I found where to add the library reference in the Eclipse dialog hierarchy: Project/properties/"C/C++ Build"/"GCC C++ Linker"/Libraries/ . I also had to add c:\cygwin\lib\lapack to the PATH environment variable so it could find cyglas.dll. Thank you for your patience! Lee.

Re: Help with strange compiler error linking to GSL

2007-07-05 Thread Lee Rhodes
Brian, Thanks. Here is the output from Eclipse: make -k all Building file: ../main.cpp Invoking: GCC C++ Compiler g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o"main.o" "../main.cpp" Finished building: ../main.cpp Building target: TestGSL.exe Invoking: GCC C++

Re: Help with strange compiler error linking to GSL

2007-07-05 Thread Lee Rhodes
Lewis, Thanks, OK, I was able to compile it ok from the command line as you suggested. However, the plot thickens, and I should have mentioned, that I am attempting to compile/build using Eclipse (using the Generated Makefile Builder). So my problem may be configuring Eclipse, which is usin

Help with strange compiler error linking to GSL

2007-07-05 Thread Lee Rhodes
Hello, I have installed the GSL libs via setup and am trying to get the following example program to work: #include #include int main (void) { double x = 5.0; double y = gsl_sf_bessel_J0 (x); printf ("J0(%g) = %.18e\n", x, y); return 0; } The compiler/li

Re: Help compiling gcc 4.2.0

2007-06-22 Thread Lee Rhodes
Dave Korn artimi.com> writes: > > Nope, what you have to do is you have to /not/ use winzip to unpack the > archives. Use cygwin's command-line tar utility. > > cheers, > DaveK Thanks! Lee. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Help compiling gcc 4.2.0

2007-06-21 Thread Lee Rhodes
Hello, I have not been able to find g++ 4.2.0 binaries for Windows/XP on line, so I am trying to compile g++ from source (groan!). My steps so far: 1. I have installed Cygwin also checking that the following were included: - bash (3.2.17-15) - binutils (20060817-1) - gcc / gcc-co