Re: Regarding GCC mips64 cross compiler for x86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve,

On Mon, Nov 2, 2015 at 2:02 PM, Steve Ellcey <sellcey@xxxxxxxxxx> wrote:
> On Mon, 2015-11-02 at 13:32 -0800, Bryan Hundven wrote:
>
>>
>> I think you are confused. Here is a screenshot of me setting mips:
>> http://s1215.photobucket.com/user/bhundven/media/crosstool-ng-mips_zpsj4ylemht.png.html
>>
>> You can see that you can set the bitness (currently set to 32, but you
>> can change it to 64), and below you can set the ABI. The options are
>> o32, n32, and n64.
>>
>> > Steve Ellcey
>> > sellcey@xxxxxxxxxx
>>
>>
>> Try crosstool-ng again, and this time... try it.
>>
>> Cheers,
>>
>> -Bryan
>
> I did try it, it didn't offer 64-bit as an option.  After poking around
> some I see that I need to enable the 'Try features marked as
> EXPERIMENTAL' before it will set me set bitness to 64-bit on MIPS.
> You didn't mentioned that.

I'm using the latest git and did not have experimental set when taking
that screenshot.
I did nothing then specifically this:

mkdir build
cd build
git clone https://github.com/crosstool-ng/crosstool-ng
cd crosstool-ng
./bootstrap
./configure --prefix=$HOME/.local
make
make install
(make sure $HOME/.local/bin is in your $PATH)
mkdir ~/build/tc/mips64
cd ~/build/tc/mips64
ct-ng menuconfig
[in the menuconfig go directly to "Target options"]
and you should see what is in my screenshot. No need to enable
experimental options.

-Bryan

> Steve Ellcey
> sellcey@xxxxxxxxxx
>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux