delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/07/01:29:02

Date: Thu, 6 Oct 94 14:52:32 CDT
From: leroy AT norland DOT com (Todd LeRoy)
To: djgpp AT norland DOT com
Subject: Long ld command lines
Cc: leroy AT norland DOT com

When linking with LD.EXE, how can you handle long (i.e. longer than the
DOS limit) lists of object files?  For example, say that I have 50
object files.  On a Unix system, I can list them all on the command
lines.  However, on DOS, that is too long of a command line.  You can't
always use *.o because you may have other modules in the directory, etc.
I know that you can use linker command files, but I'm not clear on the
correct syntax.  My questions are:

1.  Is there a way to work around the DOS command line length and specify
    a very long command line to LD?

       or

2.  Does anybody have an example command file for LD.EXE as would be
    specified via the "-T" option?

Thanks in advance,

Todd LeRoy
E-Mail:  leroy AT norland DOT com
PHONE:   (414) 563-8456 ext. 354
US Mail: Norland Corp., W6340 Hackbarth Rd, Fort Atkinson, WI 53538

- Raw text -


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