delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/08/10:56:35

From: Zastai <s09s96 AT zorro DOT ruca DOT ua DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: DXE trouble
Date: Mon, 5 May 1997 09:09:03 +0100
Organization: BELNET (DWTC/SSTC)
Lines: 30
Message-ID: <Pine.HPP.3.91.970505090318.19500A-100000@zorro.ruca.ua.ac.be>
NNTP-Posting-Host: zorro.ruca.ua.ac.be
Mime-Version: 1.0
Rating: Mature Audiences
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

For some time now I've been experimenting with using dxe files to provide 
some 'plugin'-style system for a program I'm working on. I have, however, 
run into two problems:

   -) When compiling a C++ program (either a .cc file or -x c++), the 
       linker can't find _dxe_load().
   -) I can't seem to generate .dxe's when they use libc functions,
       even though I specify -lc -lgcc etc. on the dxegen command line.
       I always get the following undefined references:
             _main (-defsym _main=_dxe_start_symbol kludges this)
             end
             djgpp_first_ctor
             djgpp_first_dtor
       and two other djgpp_ things I can't remember of the top of my head.

Is there any way to get this to work?

Also, is there any way to get a LFN version of _argv[0]?

Any help is appreciated; replies via e-mail are preferred.

----------------------------------------------------------------------
Tim "Zastai" Van Holder            <mailto:s09s96 AT zorro DOT ruca DOT ua DOT ac DOT be>
2nd Year Computer Science (again)
----------------------------------------------------------------------
       When all other methods of communication fail, try words.
----------------------------------------------------------------------

- Raw text -


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