NNTP-Posting-Date: Mon, 11 Nov 2002 13:28:02 -0600 From: Charles Wilkins Newsgroups: comp.os.msdos.djgpp Subject: Re: i686-pc-msdosdjgpp-g++ problems (long) Date: Mon, 11 Nov 2002 14:29:59 -0500 Message-ID: References: <1036779663 DOT 158618 AT queeg DOT ludd DOT luth DOT se> <1h6osuka51oan46817ptm2o1loq3k6fqm7 AT 4ax DOT com> <200211082039 DOT gA8Kdck00835 AT envy DOT delorie DOT com> <1036845028 DOT 195290 AT queeg DOT ludd DOT luth DOT se> <9003-Sun10Nov2002211434+0200-eliz AT is DOT elta DOT co DOT il> <7458-Mon11Nov2002205905+0200-eliz AT is DOT elta DOT co DOT il> X-Newsreader: Forte Agent 1.92/32.570 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 39 NNTP-Posting-Host: 68.45.75.113 X-Trace: sv3-BOJ3cPrGSee2n4K3EN+WLZoawUTaVN/M1qCInF29Nw5IzwFSXJ/1lOAvD1D2M8HpSL+SMSLZWf1iONd!4xvvnngDJsJ9njRZespCMSyZ+JfoFotk5SABgx8J4dvx5iUzvU6gvfaXCNjDikj5VcnRolQ= X-Complaints-To: abuse AT comcast DOT com X-DMCA-Complaints-To: dmca AT comcast DOT net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 11 Nov 2002 20:59:06 +0300, "Eli Zaretskii" wrote: >> From: Charles Wilkins >> Newsgroups: comp.os.msdos.djgpp >> Date: Sun, 10 Nov 2002 15:21:58 -0500 >> > >> >FWIW, the last address 0x0000d817 doesn't look like the normal DJGPP >> >entry point. Perhaps the linker script is not the right one, or maybe >> >the linker didn't find its script at all and used some default? >> How can I check this? > >Like you did below: > >> Here is what happens when I compile this way: >> /usr/local/compiler/cross4/djgpp/bin/i686-pc-msdosdjgpp-g++ -g >> -Wl,--verbose welcome.cpp -o welcome.exe >> >> >> GNU ld version 2.13.1 >> Supported emulations: >> i386go32 >> cannot find script file djgpp.djl >> cannot find script file >> /usr/local/compiler/cross4/djgpp/lib/gcc-lib/i686-pc-msdosdjgpp/3.2/djgpp.djl >> opened script file >> /usr/local/compiler/cross4/djgpp/lib/gcc-lib/i686-pc-msdosdjgpp/3.2/../../../../i686-pc-msdosdjgpp/lib/djgpp.djl >> using external linker script: > >These messages don't sound good to me. Why can't it find djgpp.djl >in any of these places? It should, IIRC. but it does find it... I would move it if it will help. This is the script that comes with the djcrx2xx.zip packages. It is placed in the directory $prefix/$target/lib because that is where it is when the package is unzipped. Cheers, Charles