david
20.09.2007, 11:39 |
FreePascal+DOSLFN+EDR-DOS (Developers) |
Can You explain me, why I can`t build working executable pascal script with DOSLFN in EDR-DOS? When I have switched off LFN everything works. I make this on FreePascal 204.
David
EDIT by rr: moved from category "Announce" to "Developers" |
rr
Berlin, Germany, 20.09.2007, 14:14
@ david
|
FreePascal+DOSLFN+EDR-DOS |
> Can You explain me, why I can`t build working executable pascal script with
> DOSLFN in EDR-DOS? When I have switched off LFN everything works. I make
> this on FreePascal 204.
"Can't build" is not enough information. Please read http://www.chiark.greenend.org.uk/~sgtatham/bugs-cz.html! --- Forum admin |
david
20.09.2007, 19:46
@ rr
|
FreePascal+DOSLFN+EDR-DOS |
> "Can't build" is not enough information. Please read
> http://www.chiark.greenend.org.uk/~sgtatham/bugs-cz.html!
thank you, the problem is > I can build working exe file without DOSLFN, I can build exe file with DOSLFN, but it then crash. I can`t launch it in DOSLFN on nor DOSLFN off, without DOSLFN everything OK. |
rr
Berlin, Germany, 20.09.2007, 21:31
@ david
|
FreePascal+DOSLFN+EDR-DOS |
> thank you, the problem is > I can build working exe file without DOSLFN, I
> can build exe file with DOSLFN, but it then crash. I can`t launch it in
> DOSLFN on nor DOSLFN off, without DOSLFN everything OK.
What DOSLFN version are you using? Latest is 0.40e from Jason Hood.
It's probably also a good idea to report this problem at fpc-pascal, because I don't use EDR-DOS, DOSLFN, or Free Pascal. --- Forum admin |
Rugxulo
Usono, 21.09.2007, 02:07 (edited by Rugxulo, 21.09.2007, 02:18)
@ david
|
FreePascal+DOSLFN+EDR-DOS |
> thank you, the problem is > I can build working exe file without DOSLFN, I
> can build exe file with DOSLFN, but it then crash. I can`t launch it in
> DOSLFN on nor DOSLFN off, without DOSLFN everything OK.
Just get my disk #1 (FreeDOS w/ latest DOSLFN included) and try there. Be more specific what happens (exception? hangs? reboots? doesn't find files correctly?).
BTW, do you really need LFN support in DOS via FreePascal? If not, just use the Win32 compiler (resulting .EXE might also work w/ HXRT??). And Virtual Pascal unofficially supports DOS, but I dunno about LFN support then (in pure DOS, at least).
P.S. You may even want to try GNU Pascal (DOS port also based on DJGPP, which supports LFNs) or rr's recent FPC 2.2.0 WIP build.
Hope some of this helps! --- Know your limits.h |
rr
Berlin, Germany, 21.09.2007, 09:51
@ Rugxulo
|
FreePascal+DOSLFN+EDR-DOS |
> P.S. You may even want to try GNU
> Pascal (DOS port also based on DJGPP, which supports LFNs) or
> rr's recent FPC 2.2.0
> WIP build.
Erm... my FPC 2.2.0 builds are broken, because they don't work on non-LFN systems. With DOSLFN or in Windows all should be fine. FPC core team (Pierre, Tomas) is working on that. --- Forum admin |
david
21.09.2007, 12:05
@ rr
|
FreePascal+DOSLFN+EDR-DOS |
I use DOSLFN 40e
The fault is >>>>
Stack Fault at eip=2ae03; flags=3213
eax=0000046d ebx=00030005 ecx=00000000 edx=018300b7 esi=00004803 edi=00000000
ebp=0013126a esp=00000760 cs=a7 ds=af es=af fs=8f gs=0 ss=8f error=0000
David |
rr
Berlin, Germany, 21.09.2007, 12:25
@ david
|
FreePascal+DOSLFN+EDR-DOS |
> I use DOSLFN 40e
Which EDR-DOS version?
Please try other versions of Free Pascal or DOSLFN!
Please provide source code and a binary for your software! --- Forum admin |
dave*
21.09.2007, 14:10
@ rr
|
FreePascal+DOSLFN+EDR-DOS |
EDR-DOS version 7.01.07 I wait 08
cvs freepascal 205
doslfn 40e
The problem continue
tested with script
begin
writeln ('test working');
end.
something wrong with EDR-DOS ?
David |
rr
Berlin, Germany, 21.09.2007, 15:06
@ dave*
|
FreePascal+DOSLFN+EDR-DOS |
> EDR-DOS version 7.01.07 I wait 08
Do you mean, you still wait for 7.01.08?
> something wrong with EDR-DOS ?
You should better ask Udo Kuhnt for that. Did you read News? It mentions DOSLFN for 7.01.08. Maybe you should try it.
P.S. Why didn't you use your real user account? --- Forum admin |
Japheth
Germany (South), 21.09.2007, 16:48
@ rr
|
FreePascal+DOSLFN+EDR-DOS |
> > something wrong with EDR-DOS ?
>
> You should better ask Udo Kuhnt for that. Did you read
> News? It
> mentions DOSLFN for 7.01.08. Maybe you should try it.
There are some difficulties accessing the "Evil DoctoR"'s forum
@David: please check if the OS (FreeDOS/MS-DOS/EDR-DOS) matters at all concerning your crashing program. You didn't tell us yet. --- MS-DOS forever! |
dave*
21.09.2007, 17:22
@ rr
|
FreePascal+DOSLFN+EDR-DOS |
> P.S. Why didn't you use your real user account?
Problems with cookies I connect forum from Arachne and Lynx from DOS.
there was login problem, now I am in Debian, I have access to forum, but
I can`t use my user and passwd
David |
dave*
21.09.2007, 17:36
@ Japheth
|
FreePascal+DOSLFN+EDR-DOS |
> @David: please check if the OS (FreeDOS/MS-DOS/EDR-DOS) matters at all
> concerning your crashing program. You didn't tell us yet.
Dear Japheth,
It is not important thing for me now, I would like to tell you that I was looking for the error, which occured by compilation. Then I find that it cause by LFN.
David |
Japheth
Germany (South), 21.09.2007, 17:51
@ dave*
|
FreePascal+DOSLFN+EDR-DOS |
> It is not important thing for me now, I would like to tell you that I was
> looking for the error, which occured by compilation. Then I find that it
> cause by LFN.
Ok, I guess that does mean that you didn't try with other OSes. You also mentioned that the crash occurs with a simple "hello world". So please make available for download (I'm not sure if you can post it here):
- a "hello world" binary, compiled with fp, which crashes
- a "hello world" binary, compiled fp, which doesn't crash --- MS-DOS forever! |
dave*
21.09.2007, 18:48
@ Japheth
|
FreePascal+DOSLFN+EDR-DOS |
> Ok, I guess that does mean that you didn't try with other OSes. You also
> mentioned that the crash occurs with a simple "hello world". So please
> make available for download (I'm not sure if you can post it here):
>
> - a "hello world" binary, compiled with fp, which crashes
> - a "hello world" binary, compiled fp, which doesn't crash
FreePascal 205, I can`t build exe file without DOSLFN
FreePascal 204, I can build both exe files with or without DOSLFN
Now I have opportunity to test it with ROM-DOS or EDR-DOS |
rr
Berlin, Germany, 21.09.2007, 20:34
@ dave*
|
FreePascal+DOSLFN+EDR-DOS |
> Problems with cookies I connect forum from Arachne and Lynx from DOS.
> there was login problem, now I am in Debian, I have access to forum, but
> I can`t use my user and passwd
Sorry, Dave, but I can't help you, if you just say "I can't use...".
What do you mean by "login problem"?
Do you get any error message? --- Forum admin |
rr
Berlin, Germany, 21.09.2007, 20:39
@ dave*
|
FreePascal+DOSLFN+EDR-DOS |
> > Ok, I guess that does mean that you didn't try with other OSes. You also
> > mentioned that the crash occurs with a simple "hello world". So please
> > make available for download (I'm not sure if you can post it here):
> >
> > - a "hello world" binary, compiled with fp, which crashes
> > - a "hello world" binary, compiled fp, which doesn't crash
>
> FreePascal 205, I can`t build exe file without DOSLFN
> FreePascal 204, I can build both exe files with or without DOSLFN
Dave, your error reports are very confusing!
What crashes exactly? Does Free Pascal crash during compiling? Or does your .EXE crash, when you run it? --- Forum admin |
Rugxulo
Usono, 22.09.2007, 05:46
@ david
|
FreePascal+DOSLFN+EDR-DOS |
> I use DOSLFN 40e
>
> The fault is >>>>
>
> Stack Fault at eip=2ae03; flags=3213
> eax=0000046d ebx=00030005 ecx=00000000 edx=018300b7 esi=00004803
> edi=00000000
> ebp=0013126a esp=00000760 cs=a7 ds=af es=af fs=8f gs=0 ss=8f error=0000
>
> David
Run DPMI.EXE (from DR-DOS, assuming EDR-DOS has it), and tell us what it says. If it says, "DPMI is on." then do a DPMI OFF.
Also, DPMI.EXE from HXRT.ZIP might be interesting too (though it's only an info tool unlike the other). Tell us what it says.
Now would also be a good time to post your CONFIG.SYS and AUTOEXEC.BAT so we can see if you are doing anything unusual. --- Know your limits.h |
Laaca
Czech republic, 22.09.2007, 10:08
@ dave*
|
FreePascal+DOSLFN+EDR-DOS |
I never had any problem with Freepascal (including 2.1.4 or 2.2.0) regarding LFN with/without DOSLFN. |
david
22.09.2007, 10:19
@ rr
|
FreePascal+DOSLFN+EDR-DOS |
> Sorry, Dave, but I can't help you, if you just say "I can't use...".
>
> What do you mean by "login problem"?
> Do you get any error message?
I get "username or passwd is not valid" when I put my username and pw in any webbrowser.
I set cookie yes, passwd no in arachne.cfg and then I loged from link
to forum which I get in registration email. |
david
22.09.2007, 10:30
@ Rugxulo
|
FreePascal+DOSLFN+EDR-DOS |
> Run DPMI.EXE (from DR-DOS, assuming EDR-DOS has it), and tell us what it
> says. If it says, "DPMI is on." then do a DPMI OFF.
>
> Also, DPMI.EXE from HXRT.ZIP
> might be interesting too (though it's only an info tool unlike the other).
> Tell us what it says.
DPMI server is not installed, I launch dpmi server with 32-protected application.
DPMI is not permanently installed. |
Rugxulo
Usono, 23.09.2007, 01:38
@ Laaca
|
FreePascal+DOSLFN+EDR-DOS |
> I never had any problem with Freepascal (including 2.1.4 or 2.2.0)
> regarding LFN with/without DOSLFN.
But you don't run under EDR-DOS, do you? What host / target OSes for FPC have you tried? --- Know your limits.h |
Rugxulo
Usono, 23.09.2007, 01:40
@ david
|
FreePascal+DOSLFN+EDR-DOS |
> DPMI server is not installed, I launch dpmi server with 32-protected
> application.
> DPMI is not permanently installed.
Well, DJGPP has SYMIFY.EXE, which you can run to help identify what function the program crashed in. Try that (but compile with debugging enabled first, and don't strip the .EXE). --- Know your limits.h |
david
23.09.2007, 09:28
@ Rugxulo
|
FreePascal+DOSLFN+EDR-DOS |
> > DPMI server is not installed, I launch dpmi server with 32-protected
> > application.
> > DPMI is not permanently installed.
>
> Well, DJGPP has SYMIFY.EXE, which you can run to help identify what
> function the program crashed in. Try that (but compile with debugging
> enabled first, and don't strip the .EXE).
The DJGPP library project continue? I thing that I compiled CDRECORD via
DJGPP ver2.04, what version is actual? To use SYMIFY.EXE I must download
DJGPP, from Delorie server? |
Laaca
Czech republic, 23.09.2007, 10:29
@ Rugxulo
|
FreePascal+DOSLFN+EDR-DOS |
On one computer I have dual system Win98/FreeDOS and on the second one I have MS-DOS 7.1 kernel with FreeDOS utilities. |
Rugxulo
Usono, 24.09.2007, 11:56
@ david
|
FreePascal+DOSLFN+EDR-DOS -- SYMIFY |
> The DJGPP library project continue? I thing that I compiled CDRECORD via
> DJGPP ver2.04, what version is actual? To use SYMIFY.EXE I must download
> DJGPP, from Delorie server?
DJGPP 2.04 beta is the latest version, and SYMIFY.EXE is found in djdev204.zip (2,211k). Or I'll e-mail it to you if you really really want. --- Know your limits.h |
Steve
US, 24.09.2007, 12:33
@ david
|
djgpp downloads |
> must download DJGPP, from Delorie server?
Here are two locations of a list of international djgpp mirror sites. Many have faster connections than Delorie's.
UK - http://uk.geocities.com/short_stop_uk/dl/djgpp.htm
US - http://short.stop.home.att.net/dl/djgpp.htm |
rr
Berlin, Germany, 24.09.2007, 21:47
@ david
|
FreePascal+DOSLFN+EDR-DOS |
> I get "username or passwd is not valid" when I put my username and pw in
> any webbrowser.
You probably mean "User name unknown or wrong password!" Please be as exact as possible, because it makes life much easier!
> I set cookie yes, passwd no in arachne.cfg and then I loged from link
> to forum which I get in registration email.
I didn't try Arachne for a long time, but I think, our user "DOS386" used it successfully to post to this forum. --- Forum admin |
Rugxulo
Usono, 25.09.2007, 19:00
@ Steve
|
djgpp downloads |
> Here are two locations of a list of international djgpp mirror sites. Many
> have faster connections than Delorie's.
Yeah, his own connection speed is abysmal, so I never d/l anything from his site if at all possible. --- Know your limits.h |
rr
Berlin, Germany, 26.09.2007, 10:29
@ Rugxulo
|
djgpp downloads |
> Yeah, his own connection speed is abysmal, so I never d/l anything from
> his site if at all possible.
I just mirror the whole server using Cygwin's rsync. --- Forum admin |
david
26.09.2007, 13:32
@ rr
|
FreePascal+DOSLFN+EDR-DOS |
> > I get "username or passwd is not valid" when I put my username and pw in
> > any webbrowser.
>
> You probably mean "User name unknown or wrong password!" Please be as
> exact as possible, because it makes life much easier!
Yes, user name unknown or wrong password , I have problem with cokkies in
Arachne, but I have access from link from registration email to forum.
It is OK |
david
26.09.2007, 13:37
@ Rugxulo
|
FreePascal+DOSLFN+EDR-DOS -- SYMIFY |
How to use symify in command line >
symify -o debug.file -i core.file??? what input file??? < program > ... fp.exe ???
Please explain me how to use syntax and what put it in command line
David |
Rugxulo
Usono, 27.09.2007, 00:58
@ david
|
FreePascal+DOSLFN+EDR-DOS -- SYMIFY |
> How to use symify in command line >
> symify -o debug.file -i core.file??? what input file??? < program > ...
> fp.exe ???
> Please explain me how to use syntax and what put it in command line
info util symify
I forget exactly (and can't test it because I don't have a crashing program handy, heh), something like symify myprog.exe once the screen is full of the stack frame traceback / reg dump info. --- Know your limits.h |