From: Rolando R. <ro...@cm...> - 2005-08-18 18:52:07
|
Hi Richard .. Richard Rauch wrote: >Strange... > >If you are going to build a Makefile for yourself and build a shared >library, then unless are intimately familiar with making DLLs with >MinGW by hand, I would suggest at least getting your hands on >libtool. As I read libtool's docs, the primary raison d'etre for >libtool is that there was at one time something of a profusion of >strange and wonderful ways that operating systems handle shared >libraries. > >Maybe you already know about that and are sure that you're better off >without libtool. But...thought I'd mention it. (^& > > I know how to build a library static or shared by hand .. In Windows I am trying to compile the library with Dev-C++ on purpose .. I am using libtool with the crosscompiler in linux BTW > >If you're going to do this, I'd suggest adding the "-static" option to GCC >as a precaution. It's probably not necessary, but... > > gcc.exe -static -c main.c -o ... > >...likewise, use -static with gcc in your homebrew Makefile for building >freeglut. of course libfreeglut was compiled with -static .. >> >>Compiling is nice but then linking is not easy with your config generated >> > ^^^^ > >Not *mine*. (^& Not if you're using freeglut. I haven't been an >active freeglut developer in over a year. I remain interested in its >developments, in part because at one time I put a lot of time into it. >But it's *their* config, not mine. (^& > >If you're interested in exchanging some non-freeglut discussion >about getting a GLUT family library running under MinGW, contact >me off-list. Well OK sorry about the confusion, Thanks but I have GLUT compiled already for MinGW, I like freeglut because it's enhancements ... Cheers, Rolando. |