Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-07

Win XP

11 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andreas K. Foerster

Hello,

there are so many rumours about Win XP...
Does anybody of you know, wheather or not console programs are still working there?

Tschuess Andreas

Reply by email

Barry Kelly
to Andreas K. Foerster
you wrote 5 lines
Hello, there are so many rumours about Win XP... Does anybody of you know, wheather or not console programs are still working there?

Win32 console programs are integral to the Win32 operating platform. Of course they are.

DOS programs? I don't know. I'd assume the same level of compatibility that exists in WinNT/2K.

-- Barry

If you're not part of the solution, you're part of the precipitate. Team JEDI: http://www.delphi-jedi.org NNQ - Quoting Style in Newsgroup Postings http://web.infoave.net/~dcalhoun/nnq/nquote.html

Reply by email

Lee, John

So does that mean no dos compatibility then... dos compatibility for w2k is sqrt(0)...ie even less than that for nt4, or to use technical term sqrt(fa). Regards John

Show quoted text 25 lines
-----Original Message----- From: Barry Kelly Sent: 30 July 2001 17:38 To: Subject: Re: [fpc-pascal]Win XP On Mon, 30 Jul 2001 18:08:57 +0200, you wrote: > Hello, > > there are so many rumours about Win XP... > Does anybody of you know, wheather or not console programs are still > working there? Win32 console programs are integral to the Win32 operating platform. Of course they are. DOS programs? I don't know. I'd assume the same level of compatibility that exists in WinNT/2K. -- Barry

Reply by email

Matti Hamalainen
to Lee, John
John wrote
So does that mean no dos compatibility then... dos compatibility for w2k is sqrt(0)...ie even less than that for nt4, or to use technical term sqrt(fa).

DOS is obsolete, although not dead. (Please, no flamewars thank you :)

I still use it occasionally, but it really isn't that good for any new programs. Lately I have only started DOS to compile and test some multiplatform stuff (like J Sound System) or to play some old games. (I have only pure DOS 6.22 and Linux & FreeBSD)

So, does it really matter if DOS is not supported in new WindowsXYZ? You can still create console-only programs if you wish (yes, I know that Windows's console is buggy, or at least it was in NT4)...

=- ccr/TNSP^pWp
] | http://www.tnsp.org/
] Show me your "realtime raytracer in Java"
] and I'll show you my CBM 8032, 2 MHz!

Reply by email

Lee, John

There are Ms of DOS programs out there...there's a load of gnu stuff... so yes it does matter to me- tho' not to Bill & M$! J

Show quoted text 35 lines
-----Original Message----- From: Matti Hamalainen Sent: 31 July 2001 12:15 To: '' Subject: RE: [fpc-pascal]Win XP On Tue, 31 Jul 2001, Lee, John wrote: > So does that mean no dos compatibility then... dos compatibility for w2k is > sqrt(0)...ie even less than that for nt4, or to use technical term sqrt(fa). DOS is obsolete, although not dead. (Please, no flamewars thank you :) I still use it occasionally, but it really isn't that good for any new programs. Lately I have only started DOS to compile and test some multiplatform stuff (like J Sound System) or to play some old games. (I have only pure DOS 6.22 and Linux & FreeBSD) So, does it really matter if DOS is not supported in new WindowsXYZ? You can still create console-only programs if you wish (yes, I know that Windows's console is buggy, or at least it was in NT4)... =- ccr/TNSP^pWp ] | http://www.tnsp.org/ ] Show me your "realtime raytracer in Java" ] and I'll show you my CBM 8032, 2 MHz! _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Georgi Georgiev
to Matti Hamalainen: DOS is obsolete, although not dead. (Please, no flamewars thank you :) I still use it…

I am using FPC 1.0.4 on Debian Linux Potato 2.2.

The following program:

--------------------------------

program ld_test;
function sys_call(str:pchar):longint;
 external 'libc' name 'system';
begin
 sys_call('ls');
end.

--------------------------------

produce the following compiler output:

Free Pascal Compiler version 1.0.4 [2001/01/02] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling ld-test.pp
Assembling ld_test
Linking ld-test
/usr/bin/ld: cannot find -lc
ld-test.pp(11) Warning: Error while linking
Closing script ppas.sh
10 Lines compiled, 0.0 sec

It seems that linker can't find the libc library.
Wath can i do ?

=====
Skelet
====== http://skelet.hit.bg

____________________________________________________________ Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie

Reply by email

Marco van de Voort
to Matti Hamalainen: DOS is obsolete, although not dead. (Please, no flamewars thank you :) I still use it…
Show quoted text 15 lines
On Tue, 31 Jul 2001, Lee, John wrote: > So does that mean no dos compatibility then... dos compatibility for w2k is > sqrt(0)...ie even less than that for nt4, or to use technical term sqrt(fa). DOS is obsolete, although not dead. (Please, no flamewars thank you :) I still use it occasionally, but it really isn't that good for any new programs. Lately I have only started DOS to compile and test some multiplatform stuff (like J Sound System) or to play some old games. (I have only pure DOS 6.22 and Linux & FreeBSD) So, does it really matter if DOS is not supported in new WindowsXYZ? You can still create console-only programs if you wish (yes, I know that Windows's console is buggy, or at least it was in NT4)...

Dos .exe is still the only common binary format usable between most OSes. (using an emulator or not).

And there is still an enormous amount of dos-apps in use, specially in house stuff.

Reply by email

Georgi Georgiev
to Jonas Maebe

--- Jonas Maebe wrote: >

Show quoted text 19 lines
On dinsdag, juli 31, 2001, at 03:23 , Georgi Georgiev wrote: > program ld_test; > > function sys_call(str:pchar):longint; > external 'libc' name 'system'; > > begin > sys_call('ls'); > end. > > -------------------------------- Add a {$linklib c} at the top. Jonas

This line don't change anything !

=====
Skelet
====== http://skelet.hit.bg

____________________________________________________________ Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie

Reply by email

Matti Hamalainen
to Georgi Georgiev
Georgi Georgiev wrote 14 lines
> > program ld_test; > > > > function sys_call(str:pchar):longint; > > external 'libc' name 'system'; > > > > begin > > sys_call('ls'); > > end. > > > > -------------------------------- > > Add a {$linklib c} at the top. This line don't change anything !

You probably don't have the paths set right in the configuration file.

It should be in /etc/ppc386.cfg.

=- ccr/TNSP^pWp
] | http://www.tnsp.org/
] Show me your "realtime raytracer in Java"
] and I'll show you my CBM 8032, 2 MHz!

Reply by email

Georgi Georgiev
to Matti Hamalainen

--- Matti Hamalainen wrote: > On

Georgi Georgiev wrote 20 lines
> > > program ld_test; > > > > > > function sys_call(str:pchar):longint; > > > external 'libc' name 'system'; > > > > > > begin > > > sys_call('ls'); > > > end. > > > > > > -------------------------------- > > > > Add a {$linklib c} at the top. > > This line don't change anything ! You probably don't have the paths set right in the configuration file. It should be in /etc/ppc386.cfg.

I solved the problem - it was dependency problem.

On Debian 2.2 the package libc6-dev must be installed !

=====
Skelet
====== http://skelet.hit.bg

____________________________________________________________ Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie

Reply by email