Building mozart 1.3.0 with gcc 3 under Windows

Denys Duchier duchier at ps.uni-sb.de
Fri Sep 19 17:29:00 CEST 2003


kornstae at ps.uni-sb.de (Leif Kornstaedt) writes:

> gcc 3 supports an auto-export/auto-import feature (google for a
> description), which should exactly correspond to the default Unix
> behaviour.  You could test whether this works well in our setup.
> If it does, then we should probably discard the __declspec(dllexport)
> stuff completely.  This would also remove a problem we had in the
> past, namely that a number of __declspec declarations were missing.

That would be of course a great simplification/improvement, but what
about other (non gcc) compilers on Windows?

>> 2. Another cause of undefined symbols in emulator.dll is that
>>    windows.hh from cygwin defines the INTERFACE symbol which we use to
>>    control "#pragma interface". (This took a looong time to track
>>    down). I have hacked that with a bit of #ifdeffery   that unsets it
>>    where necessary.

I'd be inclined to just rename INTERFACE to OZ_INTERFACE or something.

Cheers,

PS: I still haven't managed to complete a full conversion from CVS to
arch.  The cscvs tool has seen considerable improvements since I
started on these attempts (:-), but hasn't been able to make it
through all the changesets yet.

-- 
Dr. Denys Duchier
Équipe Calligramme
LORIA, Nancy, FRANCE
-
Please send submissions to hackers at mozart-oz.org
and administriva mail to hackers-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-hackers mailing list