Re: [fpc-pascal] lazarus crash at start

2005-08-01 Thread Peter Vreman
At 01:12 1-8-2005, you wrote: Trying to find why lazarus crashes at start in win98 I found a courious problem, global variable IsConsole is true when it should be false as lazarus is built as a gui application. Digging I found that IsConsole is set in two functions in wprt0.as: _mainCRTStartu

Re: [fpc-pascal] lazarus crash at start

2005-08-01 Thread Vincent Snijders
Peter Vreman wrote: At 01:12 1-8-2005, you wrote: Trying to find why lazarus crashes at start in win98 I found a courious problem, global variable IsConsole is true when it should be false as lazarus is built as a gui application. You need to use {$apptype gui} or use the -WG parameter. Fo

Re: [fpc-pascal] lazarus crash at start

2005-08-01 Thread Jesus Reyes
--- Peter Vreman <[EMAIL PROTECTED]> escribió: > At 01:12 1-8-2005, you wrote: > >Trying to find why lazarus crashes at start in win98 I found a > courious > >problem, global variable IsConsole is true when it should be false > as > >lazarus is built as a gui application. > > > >Digging I foun

Re: [fpc-pascal] fast integer multiplication

2005-08-01 Thread Gerhard Scholz
... >>The code generated for the above sample is: >># [16] c:=a*b; >>movlU_P$PROJECT1_A,%edx >>movlU_P$PROJECT1_B,%eax >>mull%edx >>movl$0,%edx >>movl%eax,U_P$PROJECT1_C >>movl%edx,U_P$PROJECT1_C+4 >> >>What I want is the above code, but without the "