Forum Discussion

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

GNU Compiler for NIOS 2

Hi,

I am using Altera's GNU Compiler but that requires CYGWIN. I am just looking out is there is any GNU compiler that can be invoked directly from windows command promt?

Thanks

3 Replies

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

    --- Quote Start ---

    originally posted by gpuruso1@Sep 11 2006, 03:53 AM

    hi,

    i am using altera's gnu compiler but that requires cygwin. i am just looking out is there is any gnu compiler that can be invoked directly from windows command promt?

    thanks

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=18213)

    --- quote end ---

    --- Quote End ---

    Altera&#39;s build only requires CYGWIN to exist, it doesn&#39;t require that you use it from a unix-like shell. This means you can use most of the tools from the windows command prompt! Unfortunately, anywhere that you have to execute a sh script (which is the unix equivelant of a .bat script) it won&#39;t work from a windows command prompt for the same reasons .bat wouldn&#39;t work right under a shell in CYGWIN

    Still, getting to know the cygwin shell is pretty painless and it&#39;s much better than the current generations of windows shells.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    In the meantime I work on a Linux machine aswell as on a Windows machine.

    Compiling the kernel for use with initramfs only works on Linux.

    Also the Windows port does not support the compressed kernel image zImage which is very convenient to save download time.

    I have a samba share to exchange data between Linux and Windows.

    From a batch file it is possible to run shell scripts by doing this:

    bash -c "your shellscriptname"

    This feature comes from Cygwin which I have installed also.