Thread overview |
---|
March 25, 2004 rebuilding phobos | ||||
---|---|---|---|---|
| ||||
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. |
March 25, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | "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. > > |
March 25, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | 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. >> >> > > |
March 25, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | 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. > >> > >> > > > > > > |
March 25, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | "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 |
March 25, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | 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. |
March 26, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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 > > |
March 26, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | 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 > > > > > > |
March 26, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | 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!
|
April 13, 2004 Re: rebuilding phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | "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. |
Copyright © 1999-2021 by the D Language Foundation