X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 2002:a37:4fc8:: with SMTP id d191mr6899966qkb.177.1588014142279; Mon, 27 Apr 2020 12:02:22 -0700 (PDT) X-Received: by 2002:a5b:5c6:: with SMTP id w6mr40649123ybp.261.1588014141951; Mon, 27 Apr 2020 12:02:21 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Mon, 27 Apr 2020 12:02:21 -0700 (PDT) In-Reply-To: <6431e105-dfc5-440b-8aa5-382bab083466@googlegroups.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:a480:1b4:3992:b99c:4bf0:40a7; posting-account=DTw6mgoAAABVKmwnaJ8FE6P8zb_HY_u- NNTP-Posting-Host: 2607:fea8:a480:1b4:3992:b99c:4bf0:40a7 References: <8af0ebdd-acea-a7be-3388-d295af50bfc7 AT gmail DOT com> <708c79a5-c5f4-4144-8d02-0f2a0497c441 AT googlegroups DOT com> <6431e105-dfc5-440b-8aa5-382bab083466 AT googlegroups DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Issues using DJGPP with Rust From: "noname422 AT gmail DOT com [via djgpp AT delorie DOT com]" Injection-Date: Mon, 27 Apr 2020 19:02:22 +0000 Content-Type: text/plain; charset="UTF-8" Bytes: 2084 Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 03RJFJVk028673 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Monday, April 27, 2020 at 1:33:59 PM UTC-4, Sébastien GUILLAUME wrote: > Hi, nice idea. > I have read your conversation in github. > Can you post here the result of the file command applied to files you try to link? > Remember that djgpp use coff format, which is different from PE for Windows and different to elf to. > PE is descendent of coff, they have some common parts. Weird functions address can come from here. I ran it on one of the object files for my program and this is what I got. dos32-dcb1f62a4632e187.dos32.frqh9yy0-cgu.0.rcgu.o: Intel 80386 COFF object file, not stripped, 4 sections, symbol offset=0x234, 15 symbols