www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/11/13:02:44

Xref: news2.mv.net comp.os.msdos.djgpp:4841
From: dan AT dan DOT emsphone DOT com (Dan Nelson)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Program too big to fit in memory
Date: 10 Jun 1996 22:16:25 GMT
Organization: Executive Marketing Services, Inc.
Lines: 22
Message-ID: <4pi6rp$du1@client2.news.psi.net>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960609180214 DOT 342g-100000 AT is> <DssIuC DOT C9F AT murdoch DOT acc DOT Virginia DOT EDU>
NNTP-Posting-Host: 199.67.51.101
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jim Varanelli <jmv9w AT hal DOT ee DOT Virginia DOT EDU> wrote:
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> writes:
> |> What happens if you use the following command line:
> |> 
> |> gcc -o genlist.exe -O2 genlist.c feedback.c tbench.c tree.c sigtype.c
> |> list.c
> 
> Same thing, Program too big...
> 
> Reading specs from c:/djgpp/lib\specs
> gcc version 2.6.3
>  c:\djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6
> -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
> -D__unix -D__i386 -D__GO32 -D__MSDOS -D__OPTIMIZE__ adept.c

Are you SURE you're using djgpp v2?  The v2 I have comes with gcc 2.7.2, and
adds a -D__DJGPP=2 after the -D__MSDOS.  If you are using djgpp v1, you
can't compile directly to a .exe.  Try "gcc -o genlist ..." and then
"stubify genlist". 

	-Dan Nelson
	dnelson AT emsphone DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019