www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/08/14:10:18

From: "deckerben" <deckerben AT freenet DOT de>
Newsgroups: comp.os.msdos.djgpp
References: <3cf910c2$0$23731$9b622d9e AT news DOT freenet DOT de> <1022961734 DOT 321994 AT queeg DOT ludd DOT luth DOT se> <3cfa9b99$0$26987$9b622d9e AT news DOT freenet DOT de> <adf6bu$ku4$1 AT antares DOT lu DOT erisoft DOT se> <3cfbd767$0$8376$9b622d9e AT news DOT freenet DOT de> <200206032152 DOT g53Lqpo30071 AT envy DOT delorie DOT com>
Subject: Re: DXE2GEN: unresolved symbol
Date: Fri, 7 Jun 2002 00:07:35 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 42
Message-ID: <3d023ad9$0$23717$9b622d9e@news.freenet.de>
NNTP-Posting-Host: 213.6.64.174
X-Trace: 1023556313 news.freenet.de 23717 213.6.64.174
X-Complaints-To: abuse AT freenet DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > `djgpp_first_dtor'
> > `djgpp_last_ctor'
> > `djgpp_last_dtor'
> > `djgpp_first_ctor'
> > `end'
>

So what it sounds like to me is more-or-less "this is normally defined
on-the-fly automaticly, so it isn't neccessary for you to define it." But
DXE2GEN is apparently not allowing 'the linker' to define it. This is my
problem.

BTW: By 'the linker', do you mean gcc or really just ld? Because dxe2gen
*bypasses* gcc and gpp because it calls ld.exe directly. Any command options
that dxe2gen does not understand get passed on to ld.exe. Suggestion: Could
there be a direct ld.exe option that defines these symbols (or read
djgpp.djl )?

> The linker itself defines those, in accordance with its linker script
> (lib/djgpp.djl at the moment, or perhaps built in or elsewhere
> depending on your build).
>
> > `__djgpp_selector_limit'
>
> crt0.o but it's a "common" definition, so ultimately the linker
> creates a suitable global for it.

Been there tried that. I can't call up crt0.o manually. I get a dxe2gen
error:

$$dxe$$.o: linker output file has more than one section



Ben







- Raw text -


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