delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/11/20:50:13

From: mpenacho AT tezcat DOT com (Mark Penacho)
Newsgroups: comp.os.msdos.djgpp
Subject: Easy linking script question (I hope)
Date: Sat, 11 Jan 97 23:55:28 GMT
Organization: Tezcat.COM - Specialists in human interconnectivity.
Lines: 16
Message-ID: <5b999h$20m@tepe.tezcat.com>
NNTP-Posting-Host: mpenacho.tezcat.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am writing a program (started in Watcom, moving now to djgpp) that uses 
several (~30) files and links them together in the end.

what I am having trouble with, is coming up with a linker script file, that 
does the equivalent to 
 gcc -o myprog.exe part1.o part2.o part3.o part4.o......part30.o -lm
but lets me specify all the part files in a linker file (the above command 
line is too long).

any help would be appreciated


Thanks


Mark Penacho

- Raw text -


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