Summary: | binutils-config does not actually change the active profile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Geoff Mishkin <geoff> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | eva |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-321539.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
bash -x output when switching profiles
bash -x output when getting current profile |
Description
Geoff Mishkin
2005-04-09 10:23:36 UTC
change the top of binutils-config to read: #!/bin/bash -x and then run `binutils-config 1 >& switch-log` and then `binutils-config -c >& get-log` and post the log files as attachments Created attachment 55820 [details]
bash -x output when switching profiles
Created attachment 55821 [details]
bash -x output when getting current profile
i dont understand ... what does `binutils-config -l` show ? you have two profiles ... one for i686 and one for mips ? then you're trying to do `binutils-config <mips profile>` ? Yes, I have i686 and mips versions of binutils. I'm trying to set up a mips cross-compilation environment. However, the mips gcc won't emerge (errors when invoking as) because (I assume) it needs the mips binutils, which I can't switch to. you're expecting behavior which is different from how it works you can have 1 profile active per target ... so in this case, you have 1 active target for mips and 1 active target for i686 when you run `binutils-config -c`, it prints out the active profile for the specified target ... if you dont specify a target, it'll print the native target by default which is i686 when you run `binutils-config -l`, all the profiles with a '*' at the end of them are active ... if you want to use -c, then try: binutils-config -c mips-unknown-linux-gnu |