in reply to Parrot build mechanism expertise required.

Borland support is not as seamless as MinGW, yet; it should still be very usable. (At least for Parrot proper; I have not tried any of this with IMCC, Perl6, or the other languages.)
This works for me with ActivePerl 631 (5.6.1), and Borland's C++ 5.5.1 (The free version).
First, configure with 'cc' and 'link' set to 'bcc32', and removing the linkflags from Perl5:

perl Configure.pl --cc=bcc32 --link=bcc32 --linkflags=""
Edit "Makefile", changing 'AR_CR' from 'lib cr' to 'rem', like so:
-AR_CR = lib cr +AR_CR = rem
Then build and test the code. Expect lots of warnings during the build.
nmake nmake test

If you don't have nmake, get it free from Microsoft here: nmake. Borland's make will fail without some hacking.

I get these test failures, all of which I expected. (I am working on patches for all of them; none should affect your use of Parrot assembler):

Failed Test Status Wstat Total Fail Failed List of Failed --------------------------------------------------------------- t/op/hacks.t 1 256 9 1 11.11% 7 t/op/string.t 1 256 99 1 1.01% 97 t/src/basic.t 255 65280 2 2 100.00% 1-2 t/src/exit.t 255 65280 2 2 100.00% 1-2 t/src/intlist.t 255 65280 4 4 100.00% 1-4 t/src/list.t 255 65280 2 2 100.00% 1-2 t/src/sprintf.t 255 65280 2 2 100.00% 1-2
Also, expect some tests to pass, but give spurious/false exit code failures, like this: failed with exit code 1 Again, this is a known bug in Win32. (I just haven't filed the patch, yet).

Replies are listed 'Best First'.
Re: Re: Parrot build mechanism expertise required.
by BrowserUk (Patriarch) on Mar 24, 2003 at 03:36 UTC

    Thankyou, that's both much more and much less than I expected.

    Much more, in as much as I wasn't expecting to receive a solution to the question, just hoping for guidance in arriving at one:)

    Much less in that I expected there to be considerably more work involved in getting there. The main difference between what you provided and what I had tried was the use of BCC32 for the linker instead of ilink32, and the use of "" for the linker options. Suffice to say, I now have parrot.exe built and the testing is progressing

    Test results summary--final


    Examine what is said, not who speaks.
    1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
    2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
    3) Any sufficiently advanced technology is indistinguishable from magic.
    Arthur C. Clarke.