www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/26/00:28:12

Date: Thu, 25 Aug 94 22:14:37 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: hvb AT netrix DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: DJGPP 1.11 vs. gnu tool on unix - help

> 
> ld -L/<djgpp>/lib -lc /<djgpp>/lib/crt0.o <list of objects files>

(1) put the "-lc" *after* the objects.

(2) Why not just use this:

	gcc <objects> -o <executable>

and skip all that other nonsense?  Use "gcc -v ..." to see what link
line it uses.


- Raw text -


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