hi I have run into some msvc++ vs. gcc problems. Obviously I want to use gcc I but linking with .lib libraries doesn't work. More specificly, I have an application using oracle OCCI. It works (mostly) in ms vc++, using an example program and linking with C:\oracle\ora92\oci\lib\msvc\oraocci9.lib. No fuss, I just include the header and the library for linking. I use dev-cpp 4.9.8 and gcc 2.95.2 When I build I get: g++.exe ../OCCItest.o -o "occidesc.exe" -L"C:/Dev-Cpp/lib" -L"C:/oracle/ora92/oci/lib/msvc" -L"C:/oracle/ora92/oci/lib/msvc/oraocci9.lib" ../OCCItest.o(.text+0xe9):OCCItest.cpp: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment: :Mode, void *, void *(*)(void *, unsigned int), void *(*)(void *, void *, unsigned int), void (*)(void *, void *))' ../OCCItest.o(.text+0x251):OCCItest.cpp: undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle::occi::Environme nt *)' The I read this is that gcc actually finds oraocci9.lib (otherwise I would get an error message) but to no prevail. Apparently it doesn't find the proper functions. This same approach works in ms vc++, with the same oraocci9.lib. So the questions are Is there a difference between .lib files? Does anyone use the oracle .lib files with gcc? Is it a version thing - should I upgrade to version 3.4.x? Regards morten