From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems with linking with ld & some script Date: 8 Feb 2001 17:30:11 GMT Organization: Aachen University of Technology (RWTH) Lines: 20 Message-ID: <95ul33$4ug$1@nets3.rz.RWTH-Aachen.DE> References: <000701c091d4$4621fa20$0264a8c0 AT ppnmrv DOT gagarinclub DOT ru> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 981653411 5072 137.226.32.75 (8 Feb 2001 17:30:11 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 8 Feb 2001 17:30:11 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ppnmrv wrote: > Hello! > I've just compiled several part of a program and need to link them together > using the script , like /djgpp/lib/djgpp.djl > The problem is that linker _doesn't work_. It creates the file with garbage, > which couldn't be executed :-( It's absolutely impossible to help if you don't show what, exactly, you did. The full command line you passed to ld or gcc would be needed, plus any text or configuration files you changed from their defaults as distributed in DJGPP packages. In general, you shouldn't ever have to worry about using djgpp.djl, yourself. If that's the linker script you want, you're best off just letting gcc handle all the other stuff for you, too. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.