[Freedos-user] RE: DJGPP's MAKE fails on FreeDOS

2004-03-31 Thread fabrizio . ge
Ciao Roberto and all.

It fails with ANY internal command, or only when redirection and/or piping
is used?

Any internal command.

- do not use redirection and piping within makefiles, as suggested in FAQ
 16.6

This did not solve the problem. In this case both the error message and
the usage details are printed on screen.

 - put SHELL=C:\FDOS\COMMAND.COM at the beginning of the makefile

This solved the problem! Thank you!
Also setting the SHELL env variable before launching Make works.

Please post info about your system: FreeDOS and FreeCOM versions (ver /r),
MS-DOS version (ver)

The output of ver /r is

FreeCom version 8.82 pl 2 XMS_Swap [Apr 28 2003 17:47:52]
DOS version 7.10
FreeDOS kernel version 1.1.32

 DJGPP version

djdev202

 make version (make --version)

GNU Make version 3.79.1

The COMSPEC variable is set to C:\FDOS\BIN\CMDXSWP.COM . The problem occurs
if the SHELL variable is not set (this is the default)

After further examination, I discovered that the problem is actually a limitation
in DJGPP's libc.a, precisely its implementation of system().
If system() is called with a built-in command as argument, DJGPP searches
the name of the shell (first in SHELL, then in COMSPEC, at the end
it defaults to command.com). Then it detects if it is a DOS-style shell
or a Unix-like shell. In the first case, it runs the command

shell /C command

in the second case it creates a temporary file and invokes

shell temp file

Unfortunately, CMDXSWP.COM is not in the list of DOS shells known by DJGPP.
So DJGPP thinks it is a Unix shell and uses the second syntax.

I will report the issue to the DJGPP people.

Thanks for the support
Fabrizio

__
ADSL Senza Canone 640Kbps:
attivala entro il 31 marzo e avrai GRATIS il costo di adesione,
quello di attivazione e il modem per tutto il 2004.
E per i primi 3 mesi navighi a 1,5 euro l'ora! Affrettati!
http://point.tiscali.it/adsl/prodotti/senzacanone/





---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] FreeDOS CDROM install - intolerably slow

2004-03-31 Thread Philip Pemberton
Hi, 
  I'm trying to install FreeDOS Beta 9 on a 386DX-40 based machine with 8MB
of RAM and a math coprocessor. The hard drive is a 4.3GB Seagate - I've got
the Seagate (well, Ontrack) Dynamic Drive Overlay loaded to sidestep the
528MB limit.
  Now, FreeDOS boots fine from the install disc. The catch is, the
installation is intolerably slow and the screen slowly fills up with various
errors from CDcache (something about flushing the cache). The CD-ROM is an
8x, but I've tried a 40x, which was just as slow. Heck, even XCOPY crawls.
  Does anyone know if a floppy-based distribution of FreeDOS Beta9 exists? I
know about Odin, but that doesn't seem to include any keyboard layout files,
so my UK-layout keyboard ends up being mapped wrong (e.g.  becomes @, £
becomes #).
  Personally, I find it amazing that FreeDOS's CDROM subsystem is slower than
a floppy disc, but DR-DOS 7.03 is lightning fast. Apples versus oranges,
though, I guess :)

Thanks.
-- 
Phil.  | Acorn Risc PC600 Mk3, SA202, 64MB, 6GB,
[EMAIL PROTECTED]  | ViewFinder, 10BaseT Ethernet, 2-slice,
http://www.philpem.dsl.pipex.com/  | 48xCD, ARCINv6c IDE, SCSI
Problem: IFF inoperative.Signed off: IFF inoperative in OFF mode.


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS CDROM install - intolerably slow

2004-03-31 Thread Philip Pemberton
In message [EMAIL PROTECTED] you wrote:

 our cdrom-driver is still in alpha-stage, sometimes generating errors and
 surely no DMA-support.
 copy your own cdrom-driver over the \freedos\atapicdd.sys on the bootdisk,
 and things should go much faster.
There is no freedos\atapicdd.sys on my beta9-pre4 bootdisk.
I've managed to use the Odin bootdisk to get a basic DOS system onto the hard
drive. The Oak Technology OTICDROM driver seems to work quite well with
FreeDOS - the 8x CDROM now feels like an 8x and not a 0.01x. INSTALL has
been running for less than five minutes and the installation is half
finished. Very nice.

 a new KEYB package and keyboard layouts might be announced somewhere in the next 
 week.
That sounds great.

Thanks,
-- 
Phil.  | Acorn Risc PC600 Mk3, SA202, 64MB, 6GB,
[EMAIL PROTECTED]  | ViewFinder, 10BaseT Ethernet, 2-slice,
http://www.philpem.dsl.pipex.com/  | 48xCD, ARCINv6c IDE, SCSI
... That MUST be wonderful. I don't understand it at all.


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS CDROM install - intolerably slow

2004-03-31 Thread Johnson Lam
On Thu, 01 Apr 2004 00:25:03 +0100, you wrote:

Hi,

I've managed to use the Odin bootdisk to get a basic DOS system onto the hard
drive. The Oak Technology OTICDROM driver seems to work quite well with
FreeDOS - the 8x CDROM now feels like an 8x and not a 0.01x. INSTALL has
been running for less than five minutes and the installation is half
finished. Very nice.

Or you can use Win9x bootdisk OAKCDROM.SYS, working fine.


Rgds,
Johnson.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user