Try creating an import library with these commands: pexports -o csound32.dll.5.1 > csound32.def dlltool --dllname=csound32.dll.5.1 --input-def=csound32.def --output-lib=libcsound32.a Before running dlltool, you may need to edit csound32.def and remove the first line which seems to cause an error. After these steps, if libcsound32.a is in a directory where it is found by the linker, you can just use -lcsound32 On Wednesday 10 May 2006 14:00, Rory Walsh wrote: > By the way i have been trying with the following command line > > gcc MinGwCsound.c -o csound.exe csound32.dll.5.1 > -I"D:/MyDocuments/SourceCode/cabbage/src/H" > > but it returns: > > $ gcc MinGwCsound.c -o csound.exe csound32.dll.5.1 > -I"D:/MyDocuments/SourceCode > /cabbage/src/H" > csound32.dll.5.1:crtstuff.c:(.text+0x160): multiple definition of `atexit' > C:/MinGWStudio/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../crt2.o:crt1.c:(.text+0x260): > first defined here > csound32.dll.5.1:crtstuff.c:(.text+0x190): multiple definition of `_onexit' > C:/MinGWStudio/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../crt2.o:crt1.c:(.text+0x270): > first defined here > csound32.dll.5.1:crtstuff.c:(.text+0x1c0): multiple definition of > `__do_sjlj_init' > C:/MinGWStudio/MinGW/bin/../lib/gcc/mingw32/3.4.2/crtbegin.o:crtstuff.c:(.text+0x0): > first defined here > collect2: ld returned 1 exit status ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net