www.digitalmars.com         C & C++   DMDScript  

D - rebuilding phobos

reply imr1984 <imr1984_member pathlink.com> writes:
ok i found out why Assert always just says "Object" - it doesnt call
super("file(number)") in its constructor. That was annoying when i found that it
wasnt my fault (ArrayBoundsError does it so why shouldnt AssertError?). 

Anyway ive modified the AssertError class so now i need to rebuild the phobos
library. How do i run that win32.mak file? Run "make win32.mak" doesnt seem to
work.
Mar 25 2004
next sibling parent reply "Matthew" <matthew stlsoft.org> writes:
"make  -f  win32.mak" should do it

"imr1984" <imr1984_member pathlink.com> wrote in message
news:c3v1as$1ccc$1 digitaldaemon.com...
 ok i found out why Assert always just says "Object" - it doesnt call
 super("file(number)") in its constructor. That was annoying when i found
that it
 wasnt my fault (ArrayBoundsError does it so why shouldnt AssertError?).

 Anyway ive modified the AssertError class so now i need to rebuild the
phobos
 library. How do i run that win32.mak file? Run "make win32.mak" doesnt
seem to
 work.
Mar 25 2004
parent reply imr1984 <imr1984_member pathlink.com> writes:
thank you :) this is gonna save me sooooooooooo much stress, btw where are the
parameters documented for make?

In article <c3v1q0$1d62$1 digitaldaemon.com>, Matthew says...
"make  -f  win32.mak" should do it

"imr1984" <imr1984_member pathlink.com> wrote in message
news:c3v1as$1ccc$1 digitaldaemon.com...
 ok i found out why Assert always just says "Object" - it doesnt call
 super("file(number)") in its constructor. That was annoying when i found
that it
 wasnt my fault (ArrayBoundsError does it so why shouldnt AssertError?).

 Anyway ive modified the AssertError class so now i need to rebuild the
phobos
 library. How do i run that win32.mak file? Run "make win32.mak" doesnt
seem to
 work.
Mar 25 2004
next sibling parent "Matthew" <matthew stlsoft.org> writes:
depends on the make, but I just type "make -?", which works for both
Borland's (the one I tend to use) and DMC++'s (the one I tend to moan about)


"imr1984" <imr1984_member pathlink.com> wrote in message
news:c3v1vb$1dd3$1 digitaldaemon.com...
 thank you :) this is gonna save me sooooooooooo much stress, btw where are
the
 parameters documented for make?

 In article <c3v1q0$1d62$1 digitaldaemon.com>, Matthew says...
"make  -f  win32.mak" should do it

"imr1984" <imr1984_member pathlink.com> wrote in message
news:c3v1as$1ccc$1 digitaldaemon.com...
 ok i found out why Assert always just says "Object" - it doesnt call
 super("file(number)") in its constructor. That was annoying when i
found
that it
 wasnt my fault (ArrayBoundsError does it so why shouldnt AssertError?).

 Anyway ive modified the AssertError class so now i need to rebuild the
phobos
 library. How do i run that win32.mak file? Run "make win32.mak" doesnt
seem to
 work.
Mar 25 2004
prev sibling parent reply "Walter" <walter digitalmars.com> writes:
"imr1984" <imr1984_member pathlink.com> wrote in message
news:c3v1vb$1dd3$1 digitaldaemon.com...
 thank you :) this is gonna save me sooooooooooo much stress, btw where are
the
 parameters documented for make?
www.digitalmars.com/ctg/make.html
Mar 25 2004
parent reply imr1984 <imr1984_member pathlink.com> writes:
thanks walter. But im having difficulty building the phobos library. Here is a
paste from the output where it stops:

c:\dm\bin\sc.exe -c internal\minit.asm
masm386 -DM_I386=1 -D_WIN32 -Mx internal\minit.asm;
Can't run 'masm386', check PATH
Error: 'c:\dm\bin\sc.exe' not found
But i know sc is in the right place because it already found and used it before. I also know that masm386 is in the same directory as sc.exe. I downloaded masm386 from http://cmeerw.org/prog/dm/rtl.html. is there a more official site to get it from ? In article <c3ve5m$226c$1 digitaldaemon.com>, Walter says...
"imr1984" <imr1984_member pathlink.com> wrote in message
news:c3v1vb$1dd3$1 digitaldaemon.com...
 thank you :) this is gonna save me sooooooooooo much stress, btw where are
the
 parameters documented for make?
www.digitalmars.com/ctg/make.html
Mar 26 2004
next sibling parent "Phill" <phill pacific.net.au> writes:
I had this exact problem, a few versions back.

Its frustrating isnt it?

What is your OS Walter?

Phill.


"imr1984" <imr1984_member pathlink.com> wrote in message
news:c41jl0$2gkt$1 digitaldaemon.com...
 thanks walter. But im having difficulty building the phobos library. Here
is a
 paste from the output where it stops:

c:\dm\bin\sc.exe -c internal\minit.asm
masm386 -DM_I386=1 -D_WIN32 -Mx internal\minit.asm;
Can't run 'masm386', check PATH
Error: 'c:\dm\bin\sc.exe' not found
But i know sc is in the right place because it already found and used it
before.
 I also know that masm386 is in the same directory as sc.exe. I downloaded
 masm386 from http://cmeerw.org/prog/dm/rtl.html. is there a more official
site
 to get it from ?


 In article <c3ve5m$226c$1 digitaldaemon.com>, Walter says...
"imr1984" <imr1984_member pathlink.com> wrote in message
news:c3v1vb$1dd3$1 digitaldaemon.com...
 thank you :) this is gonna save me sooooooooooo much stress, btw where
are
the
 parameters documented for make?
www.digitalmars.com/ctg/make.html
Mar 26 2004
prev sibling next sibling parent Manfred Nowak <svv1999 hotmail.com> writes:
imr1984 wrote:

 thanks walter. But im having difficulty building the phobos library. Here is a
 paste from the output where it stops:
 
c:\dm\bin\sc.exe -c internal\minit.asm
masm386 -DM_I386=1 -D_WIN32 -Mx internal\minit.asm;
Can't run 'masm386', check PATH
Error: 'c:\dm\bin\sc.exe' not found
You do not need masm. If you are using make, then it sufficces to `touch' the existing "minit.obj". So long!
Mar 26 2004
prev sibling parent "Walter" <walter digitalmars.com> writes:
"imr1984" <imr1984_member pathlink.com> wrote in message
news:c41jl0$2gkt$1 digitaldaemon.com...
 thanks walter. But im having difficulty building the phobos library. Here
is a
 paste from the output where it stops:

c:\dm\bin\sc.exe -c internal\minit.asm
masm386 -DM_I386=1 -D_WIN32 -Mx internal\minit.asm;
Can't run 'masm386', check PATH
Error: 'c:\dm\bin\sc.exe' not found
But i know sc is in the right place because it already found and used it
before.
 I also know that masm386 is in the same directory as sc.exe. I downloaded
 masm386 from http://cmeerw.org/prog/dm/rtl.html. is there a more official
site
 to get it from ?
minit.obj is already supplied for those who do not have masm386.exe.
Apr 13 2004
prev sibling parent Stuartd <Stuartd_member pathlink.com> writes:
In article <c3v1as$1ccc$1 digitaldaemon.com>, imr1984 says...
ok i found out why Assert always just says "Object" - it doesnt call
super("file(number)") in its constructor. That was annoying when i found that it
wasnt my fault (ArrayBoundsError does it so why shouldnt AssertError?). 

Anyway ive modified the AssertError class so now i need to rebuild the phobos
library. How do i run that win32.mak file? Run "make win32.mak" doesnt seem to
work.
I think it also needs to inherit from Exception (or Error?) instead of directly from Object, which doesn't have a constructor.
Mar 25 2004