Mail Archives: djgpp/1994/02/22/04:36:03
Hi world,
Yesterday I asked:
>
> Hi gurus,
>
> Who would be so kind to enligth me a little.
>
> I try to build MSDOS application via LINUX.
>
> I did:
> - gcc with DJGPP include's and specs on LINUX - OK!
> - building libraries on LINUX - OK!!
> - copy all libraries to MSDOS and ranlib it again - OK!!!
> - building application with DJGPP ld and DJGPP lib's - OK!!!!
>
> - run my application via GO32:
> go32 PAWDOS.out ==>
>
> go32 version 1.11.maint3 Copyright (C) 1993 DJ Delorie
> Unknown file type 0x6465 (062145)
>
> What I have missed.
>
> Any ideas!
> Thank you in advance
> Valery Fine (fine AT vxcern DOT cern DOT ch)
>
I can answer myself, that all was done right. There is no problem with
LINUX.
Problem with the size of my application and libraries on PC itself.
When I try to build application ld was running about 20 minutes than told:
=====> Virtual memory exhausted! <=======
and made the exe-file PAWDOS.exe, size 3'386'368 bytes long. So I guess
this file wasn't complete and it was reason of GO32 message.
I tried to build application two ways.
The first one was based on the restricted version of my libraries:
Volume in drive C is DECPC
Volume Serial Number is 443F-15EE
Directory of C:\CERN\LIB
LIBKERN A 472,946 06-01-93 12:08p
LIBPAW A 1,256,432 05-28-93 6:57p
LIBMATH A 1,230,316 05-26-93 2:00p
LIBPACK A 2,935,816 05-21-93 4:36p
LIBGRAF A 1,039,352 05-05-93 11:47a
5 file(s) 6,934,862 bytes
38,690,816 bytes free
This way I had right executable and it worked.
The second way I tried to build exact the same application but using the
"full" library kit:
Volume in drive C is DECPC
Volume Serial Number is 443F-15EE
Directory of C:\CERN\LIB\94A
LIBKERN A 796,138 02-19-94 10:10p
LIBMATH A 2,504,762 02-19-94 10:10p
LIBGRAFG A 1,302,460 02-21-94 2:48p
LIBGRAF A 900,728 02-19-94 10:09p
LIBPACK A 6,100,012 02-21-94 2:48p
LIBPAW A 2,135,278 02-21-94 12:47p
6 file(s) 13,739,378 bytes
38,694,912 bytes free
This way I had:
====> Virtual memory exhausted! <=======
So question:
I guess the DJGPP restricts the total size of Libraries. Is it true and
is it possible to work around it?
Any ideas?
Thank you in advance.
Valery Fine
============================================================================
My PC is DECpc 466d2 (Intel 486/66 inside) and I have 38 Mbyte free on
HDD, the RAM configuration is:
Modules using memory below 1 MB:
Name Total = Conventional + Upper Memory
-------- ---------------- ---------------- ----------------
MSDOS 17,949 (18K) 17,949 (18K) 0 (0K)
HIMEM 1,120 (1K) 1,120 (1K) 0 (0K)
IPCUST 1,200 (1K) 1,200 (1K) 0 (0K)
IFCUST 464 (0K) 464 (0K) 0 (0K)
MVSOUND 10,800 (11K) 10,800 (11K) 0 (0K)
SLCD 23,600 (23K) 23,600 (23K) 0 (0K)
COMMAND 3,760 (4K) 3,760 (4K) 0 (0K)
MOUSE 15,648 (15K) 15,648 (15K) 0 (0K)
SMARTDRV 29,024 (28K) 29,024 (28K) 0 (0K)
MSCDEX 36,256 (35K) 36,256 (35K) 0 (0K)
Free 513,824 (502K) 513,824 (502K) 0 (0K)
Memory Summary:
Type of Memory Total = Used + Free
---------------- ---------- ---------- ----------
Conventional 654,336 140,512 513,824
Upper 0 0 0
Reserved 0 0 0
Extended (XMS) 7,340,032 2,162,688 5,177,344
---------------- ---------- ---------- ----------
Total memory 7,994,368 2,303,200 5,691,168
Total under 1 MB 654,336 140,512 513,824
Largest executable program size 513,264 (501K)
Largest free upper memory block 0 (0K)
MS-DOS is resident in the high memory area.
================== RFC 822 Headers ==================
Received: by msmail.cern.ch with Microsoft Mail
id <2D69D654 AT msmail DOT cern DOT ch>; Tue, 22 Feb 94 09:54:28 MET
Date: Tue, 22 Feb 94 09:54:00 MET
Message-Id: <2D69D654 AT msmail DOT cern DOT ch>
Encoding: 137 TEXT
X-Mailer: Microsoft Mail V3.0
- Raw text -