On 09/01/17 23:48, David Craven wrote:
Not quite I'm afraid, I get
/gnu/store/p8543gm372dyff5p8mcq0phb09mq548z-profile/bin/ld: cannot find crti.o:
No such file or directory
I have gcc-toolchain installed in my profile, this problem didn't
show. I submitted a patch that works with
guix environm
Ben Woodcroft skribis:
> On 09/01/17 21:27, David Craven wrote:
>> Hi Ben,
>>
>> The problem is that binutils isn't retained. This is due to:
>>
>> (string-append "--default-ar=" gcc "/bin/ar").
>>
>> This is a bug in the rustc package, which I haven't fixed yet.
>>
>> To work around this issue y
> Not quite I'm afraid, I get
> /gnu/store/p8543gm372dyff5p8mcq0phb09mq548z-profile/bin/ld: cannot find
> crti.o: No such file or directory
I have gcc-toolchain installed in my profile, this problem didn't
show. I submitted a patch that works with
guix environment --pure --ad-hoc rustc
On 09/01/17 21:27, David Craven wrote:
Hi Ben,
The problem is that binutils isn't retained. This is due to:
(string-append "--default-ar=" gcc "/bin/ar").
This is a bug in the rustc package, which I haven't fixed yet.
To work around this issue you should be able to do
guix environment --ad-h
Hi Ben,
The problem is that binutils isn't retained. This is due to:
(string-append "--default-ar=" gcc "/bin/ar").
This is a bug in the rustc package, which I haven't fixed yet.
To work around this issue you should be able to do
guix environment --ad-hoc binutils rustc
Thanks!
David
Hi,
I thought I'd try out rust today, just because. So I fired up Guix's
rustc and tried to compile the example on https://www.rust-lang.org but
alas:
$ ./pre-inst-env guix environment -C --ad-hoc rustc
[env]# rustc a.rs
error: linking with
`/gnu/store/y1g6991kxvdk4vxhsq07r5saww30v8dq-gcc-4