From: Zastai 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: NNTP-Posting-Host: zorro.ruca.ua.ac.be Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Rating: Mature Audiences To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 2nd Year Computer Science (again) ---------------------------------------------------------------------- When all other methods of communication fail, try words. ----------------------------------------------------------------------