[PD] Can't use standard C libraries on external compilation for windows using MINGW

2007-07-14 Thread Isidro Gonzalez
Hello: I followed Alberto Zin's instructions for compiling pd externals using Mingw and they worked OK. But: I modified de hello.c code adding the opening and closing of a file. Of course, the header file must be added to the code. Attached to this message is the modified "hello.c". The code com

Re: [PD] Can't use standard C libraries on external compilation for windows using MINGW

2007-07-16 Thread Hans-Christoph Steiner
If your MinGW DLLs are not in a standard UNIX path, then you'll need to add a -L/path/to/lib to your linking statement. Also, you'll be better off using gcc rather than ld for linking. gcc knows all the apps to call to link things. If you follow these directions, then the MinGW libs will