Re: Building on MinGW (Was: Trouble with linking C++ DLLs)
Edmond Ho <[email protected]> Fri, 4 Nov 2005 10:16:37 -0500
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <[email protected]> |
> > Yes, it should. Something like: > > cd builds > > sh ../unix/configure > > make > > I.e. the same way things get built on Unix. > > > > -jcw > > My initial attempt wasn't successful - when the make script runs > > gcc -shared -o libmk4.so column.o custom.o derived.o fileio.o field.o > format.o handler.o persist.o remap.o std.o store.o string.o table.o univ.o > view.o viewx.o > > gcc fails with screens and screens full of undefined references. I also > note that "libmk4.so" should presumably be "libmk4.dll" for MinGW. > > I'll investigate further this evening and check that my environment is > sane - I'm using the MSYS/MinGW download from tcl.sf.net rather than the > one from the mingw.org. Watch this space. > > Gareth I experienced the same problem when trying to compile the library in a Cygwin/MinGW environment, which was why I tried to link my program to the precompiled Metakit binaries. I'll try to compile the library again tonight. Edmond _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit