ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2020/04/28/19:01:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=subject:to:references:cc:reply-to:from:message-id:date:user-agent
:mime-version:in-reply-to:content-language:content-transfer-encoding;
bh=44Eoyo73jv4b2b93gevMyFqO45u1vE1IBIBhhyQXqGo=;
b=Sb8HqWZjFEHguoKXhX75eoD8xpLiHS+3QADiuZ97g0Us4nisVxCJYvZDHSB3Wn6rWH
hvSHfD26L5Z9+chPnEpdZSYiZTrWzZUYzce93BkDYIabQduMNeWdTMv+wFMTvoABQzMA
qyUQl3ot53rCgeKIAiYBWGespSybSUsyOtlaCoylEtXs8e47oYrNxMeUNBkZw8+Tg7cT
i1mxkqUECWELTYeVR1kF/0M6RqviRJjeFulKVliaLiaOR9YBVflGCcsGRAURfY3Rzrxp
1P22aqKVkXfJXFByFwXYPFwMIMHJhKM01hb4CNtsiy06zWy7ghgdlr7rEl9vBZp3wrBg
2Z3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:cc:reply-to:from
:message-id:date:user-agent:mime-version:in-reply-to
:content-language:content-transfer-encoding;
bh=44Eoyo73jv4b2b93gevMyFqO45u1vE1IBIBhhyQXqGo=;
b=m1oOYVdTWkDTp3/ssV1bq7rfsoh3Pb0i2ARKNm84CLNow89mo4kT5YX4WnsrsNXKpf
Vj3SNp5aSxXd7+y9rZAKcYA9QKtZGPfYCQ32pxqg+1AwsciPdGdKIsfWfk0JHFzovnk2
7Te14VrOjHoNX2I7E6KeTan9rrMTcRRkzQ6VI3/wOYbbDB+PCUur4yUwIAlVZoqZjdJh
LX/OffP92E5UhNAVxClclbRGhCuWoutqUKZFSRaoP1JXfB/TubYVrSsKYnjxt7SDQ0p2
AEpV4IjzocFSisRNayUYFK7cD4e3DRoWsSEmyEpC3wF4wadwRDby8ZiWjHqRe9LII/YV
YZxA==
X-Gm-Message-State: AGi0Pubxw6wTRcdy48mETecnQcGuLgdMz2LfRRLtGivPeJYZT9TzCdEK
KNh5bwWs8YnxvU3GWZP9sMxlPAmR
X-Google-Smtp-Source: APiQypJB8dPYhtyc7b6dkQ1hXqWHhVVhp5fO3Wb7PpXDIG/fU+1jir8q/DqhAaeMlfSxgIWA0yLcBg==
X-Received: by 2002:a7b:c4c7:: with SMTP id g7mr6745289wmk.97.1588114623317;
Tue, 28 Apr 2020 15:57:03 -0700 (PDT)
Subject: Re: Issues using DJGPP with Rust
To: noname422 AT gmail DOT com
References: <b73af67e-9b17-40c7-9b8d-dcb6d70b2944 AT googlegroups DOT com>
<8af0ebdd-acea-a7be-3388-d295af50bfc7 AT gmail DOT com>
<708c79a5-c5f4-4144-8d02-0f2a0497c441 AT googlegroups DOT com>
<ba7836f0-5e10-4a36-b2cc-cacb20a53ad6 AT googlegroups DOT com>
<6431e105-dfc5-440b-8aa5-382bab083466 AT googlegroups DOT com>
<c783b606-a642-4475-8ad6-e4607907a690 AT googlegroups DOT com>
<cfaa55d0-777e-4de6-9537-3bee2a90076c AT googlegroups DOT com>
<c3239287-a23c-4d16-8960-f59267467238 AT googlegroups DOT com>
<2e97cd0b-78cb-4f21-93ca-fa258276e21b AT googlegroups DOT com>
<9c383eca-869d-4afa-9562-a505f3ea5428 AT googlegroups DOT com>
Cc: djgpp AT delorie DOT com
From: "J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Message-ID: <2c99eb4e-f16e-9306-f7f4-f784d2ffa25e@gmail.com>
Date: Wed, 29 Apr 2020 00:56:59 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <9c383eca-869d-4afa-9562-a505f3ea5428@googlegroups.com>
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

On 2020-04-28 22:14, noname422 AT gmail DOT com [via djgpp AT delorie DOT com] wrote:
> On Tuesday, April 28, 2020 at 12:35:02 PM UTC-4, Sébastien GUILLAUME wrote:
>> OK,
>> can you post an archive with object file used to link the exe?
>> The build directory with all temporary files, from rustc and djgpp. 
>> I have read the new post github, the idea of converting files with objectcopy is interesting, I will build binutils to have the support of pecoff and coff-go32, it's easy with Gentoo.
> 
> Unfortunately stopping a Cargo build in the middle is difficult. It deletes the object files when it's done linking, so I think it caches them in some other format for when you want to rebuild. It might be best to just install nightly Rust unfortunately.
> 

I found that if you build with:

$ cargo rustc --target dos32.json --release -Z build-std=core,alloc -- --emit=obj,asm

it saves the intermediate assembly and object files.

- Raw text -


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