Thanks for the answer. The -L was an error, but it didn't change anything. I'll stick with msvc for now then. The code should be fairly compatible with gcc on linux when I start porting it. Regards Morten Bo Nielsen -----Oprindelig meddelelse----- Fra: Eljay Love-Jensen [mailto:eljay@xxxxxxxxx] Sendt: 03 February 2005 15:21 Til: Morten Bo Nielsen; gcc-help@xxxxxxxxxxx Emne: Re: .lib problems Hi Morton, Why do you have -L in front of the oraocci9.lib library? The -L switch is used to provide a library search path. If oraocci9.lib is a C library, you may be able to get things to work. (Preferably, you'll get a GCC compiled version of the oraocci9.lib.) If oraocc9.lib is a C++ library, you won't be able to get things to work. (Not without a lot of deep voodoo.) HTH, --Eljay