Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

how to get the file "nios2-linux-gnu"

Dear all

I porting some software .

for example for ARM

./configure --prefix=/home/nick/minigui/tmp/

--host=arm-linux

--target=arm-linux

I try to do it use next

./configure --prefix=/home/nick/minigui/tmp/

--host=nios2-linux

--target=nios2--linux

or

./configure --prefix=/home/nick/minigui/tmp/

--host=nios2-linux-uclibc

--target=nios2--linux-uclibc

but it is fail . I find we can't find nios2-linux-gnu or nios2-linux-uclibc-gnu

can you help me ! thanks!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE (Alex.liu @ Jul 31 2009, 08:26 PM) <{post_snapback}> (index.php?act=findpost&pid=23361)</div>

    --- Quote Start ---

    I porting some software .

    for example for ARM

    but it is fail . I find we can&#39;t find nios2-linux-gnu or nios2-linux-uclibc-gnu

    can you help me ! thanks![/b]

    --- Quote End ---

    That&#39;s just part of porting to an unsupported architecture in an "autotools/autoconfig" based example. You&#39;re responsible for either modifying the configure.in (or something like that) or, if you&#39;re lucky...just adding the appropriate architecture/toolchain stuff in config.sub (config.sub.in).

    Initially, you might be able to get it to work just hacking the "configure" script, but you ought to be modifying the ".in" scripts...eventually.

    Cheers,

    - slacker