Date: Tue, 8 Apr 1997 12:06:39 -0400 (EDT) From: "art s. kagel IFMX x2697" To: Jeff Goeke-Smith Cc: djgpp AT delorie DOT com Subject: Re: rhide linking In-Reply-To: <334972E0.2B24@mason.k12.mi.us> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Place the file names into a file and use the @FILE facility to link: gcc -o myexec.exe mymain.o @object.lst Alternatively you could build a library out of the objects and include that: ar cvs libmyobjects.a @object.lst then: gcc -o myexec.exe mymain.o -lmyobjects or (IF ALL OF THE LIBRARY IS ALWAYS NEEDED THIS IS FASTER): gcc -o myexec.exe mymain.o libmyobjects.a If you may not need the entire library using the -lmyobject will produce a smaller executable but takes longer to link as it performs recursive searches of the library until all references are satisfied. Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com On Mon, 7 Apr 1997, Jeff Goeke-Smith wrote: > Ok, I am about to make myself look like a total fool but, here is my > problem. I am compiling a 6 file project and I am storing the .o files > in their own directory. When I go to link the project, the command for > gcc gets truncated on the 128th character. I think this is a problem > with dos and not with rhide but, I'm not sure. Any help would be > appreciated. > > I am using rhide version 1.2 > > Jeff Goeke-Smith >