Dustmite and linking error

JG JG at somewhere.com
Sat Sep 4 06:20:59 UTC 2021


On Saturday, 4 September 2021 at 06:18:52 UTC, JG wrote:
> On Friday, 3 September 2021 at 19:56:30 UTC, JG wrote:
>> [...]
>
> I tried again. What am I doing wrong?
>
> cp source ~/tmp/source
> cd ~/tmp/source
> dub build --config prog1 2>&1 | grep "collect2: error: ld 
> returned 1 exit status"
> echo $? #produces 0
> find . -name *.o -delete
> ~/d/DustMite/dustmite -j ./ 'dub build --config prog1 2>&1 | 
> grep "collect2: error: ld returned 1 exit status"'
> cd ../source.reduced
> dub build --config prog1 2>&1 | grep "collect2: error: ld 
> returned 1 exit status"
> echo $? #produces 1

First line should be: cp -R source ~/tmp/source


More information about the Digitalmars-d-learn mailing list