Dustin Voss | 8 Dec 11:29
Picon

Building latest Open Dylan for Mac OS X

Hey all. I have gotten Open Dylan to compile on Mac OS X. The diff  
(against revision 11530) is at
<http://idisk.mac.com/d_j_v-Public/Under%20Development/fundev.diff 
 >. Applying the diff gives you build instructions in README.txt.

I will do the check-in a few days from now.

The sticking point was the copy-bytes argument order change in the  
core libraries. Originally, libraries from 1.0beta4 were being linked  
in to the latest version (I'll call it beta5) to fill in for beta5  
libraries that hadn't been compiled yet. Because of the argument order  
change, the copy-bytes methods and their callers weren't always in  
agreement about which argument meant what. This led to core dumps and  
anguish.

The solution was to rewrite parts of the build system. Beta5 gets rid  
of the 4 bootstrap stages and replaces it with a 2-stage process. In  
the first stage (the bootstrap stage), the beta4 libraries and  
compiler are used to build the minimal beta5 libraries and compiler.  
In the second stage (the installation stage), the beta5 compiler and  
libraries from the first stage are used to build the beta5 libraries  
and compiler in the installation location. This allows the  
installation to benefit from any extra optimizations introduced by new  
compiler code.

To keep the beta5 libraries from linking to the beta4 libraries, I  
altered admin/build/fdmake.pl to do a dependency analysis to ensure  
that prerequisite beta5 libraries are always built before their  
dependents are. Since Dylan doesn't allow circular dependencies, this  
works out, and the beta4 libraries are never needed or linked in.
(Continue reading)

Andreas Bogk | 9 Dec 15:59

Re: Building latest Open Dylan for Mac OS X

Dustin Voss schrieb:
> Hey all. I have gotten Open Dylan to compile on Mac OS X. The diff  

Great result, congratulations!

I think this result warrants to actually bump the version number to
beta5 and build a new release on all platforms.

Andreas
--

-- 
Gd-hackers mailing list
Gd-hackers <at> gwydiondylan.org
https://www.opendylan.org/mailman/listinfo/gd-hackers

Chris Page | 9 Dec 21:21

Re: Building latest Open Dylan for Mac OS X

On Dec 8, 2007, at 02:33 AM, Dustin Voss wrote:

> Hey all. I have gotten Open Dylan to compile on Mac OS X.

Great news!

-- 
Chris Page - Dylan Programmer

  Open Source Dylan Compilers: <http://www.opendylan.org/>

--

-- 
Gd-hackers mailing list
Gd-hackers <at> gwydiondylan.org
https://www.opendylan.org/mailman/listinfo/gd-hackers

Peter S. Housel | 10 Dec 07:19
Picon
Favicon

Re: Building latest Open Dylan for Mac OS X

On Sat, 2007-12-08 at 02:33 -0800, Dustin Voss wrote:
> Hey all. I have gotten Open Dylan to compile on Mac OS X. The diff  
> (against revision 11530) is at
<http://idisk.mac.com/d_j_v-Public/Under%20Development/fundev.diff 
>  >. Applying the diff gives you build instructions in README.txt.
> 
> I will do the check-in a few days from now.

Hopefully not with so many debugging messages left in fdmake.pl...

Also, I'm not yet convinced that the changes to the bootstrapping
methodology will handle the usual bootstrapping use case, namely changes
to the interface between the compiler and the runtime.  I'll do some
experiments on my <extended-integer> development sources to make sure
it's possible to build it with the patched sources.  Please hold off
until then.  (Feel free to commit the runtime changes, though I don't
understand at why they're necessary. )
-- 
Peter S. Housel <housel <at> acm.org>
--

-- 
Gd-hackers mailing list
Gd-hackers <at> gwydiondylan.org
https://www.opendylan.org/mailman/listinfo/gd-hackers

Dustin Voss | 11 Dec 04:17
Picon

Re: Building latest Open Dylan for Mac OS X


On Dec 9, 2007, at 10:19 PM, Peter S. Housel wrote:

> On Sat, 2007-12-08 at 02:33 -0800, Dustin Voss wrote:
>> Hey all. I have gotten Open Dylan to compile on Mac OS X. The diff
>> (against revision 11530) is at
http://idisk.mac.com/d_j_v-Public/Under%20Development/fundev.diff 
>> . Applying the diff gives you build instructions in README.txt.
>>
>> I will do the check-in a few days from now.
>
> Hopefully not with so many debugging messages left in fdmake.pl...

Which debugging messages are you referring to?

The only significant additional output is the complete list of class  
dependencies, but that only prints out if fdmake.pl is called with the  
--verbose flag. I'd assume that if someone is using verbose mode, they  
*want* to see that stuff.

Aside from that, I just added more detail to error messages that would  
be printed out anyway.

> Also, I'm not yet convinced that the changes to the bootstrapping
> methodology will handle the usual bootstrapping use case, namely  
> changes
> to the interface between the compiler and the runtime.  I'll do some
> experiments on my <extended-integer> development sources to make sure
> it's possible to build it with the patched sources.  Please hold off
> until then.
(Continue reading)


Gmane