Help - need to convert Unix class lib into DOS.

Help - need to convert Unix class lib into DOS.

Post by Jerzy Niesyt » Wed, 28 Aug 1996 04:00:00



Howdy -
I have a C++ class library developed
under Unix (that has long + upper case file names).
I need to convert it into DOS one and I'd rather avoid changing
all the names of the include files by hand (100+ files).

I tried using Perl script called DOSMAP that truncates file/directory
names into 8+3 format and then updates all the references in files
in a given directory.

Problem is - when I tried to run it under Linux (w/ 16Mb RAM)
it runs 'Out of memory' after converting only 3 files.

I do not know enough about Perl to fix it.
Is it possible that Perl installation is corrupted ?

Thanx for any help an pointers,

JT

 
 
 

Help - need to convert Unix class lib into DOS.

Post by Alain Kna » Wed, 28 Aug 1996 04:00:00



:Howdy -
:I have a C++ class library developed
:under Unix (that has long + upper case file names).
:I need to convert it into DOS one and I'd rather avoid changing
:all the names of the include files by hand (100+ files).
:
:I tried using Perl script called DOSMAP that truncates file/directory
:names into 8+3 format and then updates all the references in files
:in a given directory.
:
:Problem is - when I tried to run it under Linux (w/ 16Mb RAM)
:it runs 'Out of memory' after converting only 3 files.
:
:I do not know enough about Perl to fix it.
:Is it possible that Perl installation is corrupted ?
:
:Thanx for any help an pointers,
:
:JT

 Try first the simple solution:-) don't update the file references at
all. Chances are that your compiler on DOS will truncate any file name
that is too long to 8 characters anyways, and map it to lower case.

 Regards,

--
 Linux - Why use Windows, since there is a door?

 Alain

 
 
 

Help - need to convert Unix class lib into DOS.

Post by Jerzy Niesyt » Thu, 29 Aug 1996 04:00:00






>:I tried using Perl script called DOSMAP that truncates file/directory
>:names into 8+3 format and then updates all the references in files
>:in a given directory.
>:
>:Problem is - when I tried to run it under Linux (w/ 16Mb RAM)
>:it runs 'Out of memory' after converting only 3 files.

> Try first the simple solution:-) don't update the file references at
>all. Chances are that your compiler on DOS will truncate any file name
>that is too long to 8 characters anyways, and map it to lower case.

Well - it will work for names that are simply too long
and unambiguous when truncated (not if sbdy called their
files eg. Z3.Vector.Solution.C ).

I finally managed to run this script using older version of Perl
(4.036) that came with Slackware version of Linux and which
I fortunately kept after installing version 5.0 later.
Obviously I made some mistakes when installing 5.0 -
did anybody have a similar experience ?

Regards,

Jerzy

 
 
 

1. Need Help: converting LF, CR for text file between UNIX and DOS

I am running samba in a Linux box and trying to drag and drop text files
from a networked PC
The problem I have is that LF and CR could not be properly translated.
I know that one could run "recode" in UNIX to convert the file format. My
question is:
Is there any way in which I could setup the system which could
automatically convert files
when I "drag" a file between these two OS?.
Any suggestions and inputs are welcomed. Thanks in advance.

Wenhao

2. IBM 6000 as a file server

3. Need to convert DOS to UNIX with a *limited* set of UNIX commands

4. An Acer Hole!

5. HELP... Converting NT/DOS script to Unix

6. EMailclient with preview feature?

7. Looking for Unix pgm, converts text from unix to dos and back.

8. printer and scanner problems, PLEASE HELP!!!

9. locking for socket class lib for unix...

10. Need help converting files to unix format

11. Q: Is there a way to convert .so libs to .a libs?

12. convert 'a' lib' into 'so' lib

13. convert shared lib to archive lib ?