Forum Discussion

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

makefile - unix command 'ar'

Hi, I'm working on open source JPEG software at the moment.

I'm trying to reconfigure the software so that it can work on niosII processor.

I'm using Advanced project in NiosII IDE which I required to create/ manage 'makefile' to compile the project.

From the downloaded makefile it use 'ar' command.

The GNU 'ar' program creates, modifies, and extracts from archives. An archive is a single file holding a collection of other files in a structure that makes it possible to retrieve the original individual files (called members of the archive). The original files' contents, mode (permissions), timestamp, owner, and group are preserved in the archive, and can be restored on extraction.

niosII IDE complain about the 'ar' command when I build project.

I'm just wondering if NiosII IDE support this 'ar' command or not.

Alternatively, is there a niosII IDE tool better suited to this?

Maybe there's even something that ships with NiosII IDE.

Thanks for answering these newbie questions.

Thanks!

2 Replies

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

    Hi romiodelta,

    > I'm just wondering if NiosII IDE support this 'ar' command or not.

    Use nios2-elf-ar

    You may find your task easier if you just use the existing makefiles from

    the command line. It's likely that you'll need to update the config.guess

    script to have a nios2 entry.

    Regards,

    --Scott