Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCross Compiling problems
In short, I'm trying to get EPICS ported to linux over NiosII. The folks at Argonne National lab already have EPICS running on linux over x86 architectures. Among the many cross compiling probl...
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by dcurry@Jun 30 2005, 10:56 PM so, my output from the compiler is correct, but during compilation it is using the wrong assembler. how do i get make to use the correct assembler. i tried to set the path in a config file.
path=/cygdrive/c/altera/......../nios2-elf-as:($path)
export path
i bombed after trying to make again. i got
*** recursive variable 'path' references itself (eventually) --- Quote End --- I think that should be $ PATH=/home/user/path/compiler/bin/:$PATH $ export PATH You shouldn't put the binary in the PATH variable, only the location of the binary (directory). As for the rest, I don't really know what's wrong. Can you compile a simple "hello world" program with your toolchain? If not, your installation of the toolchain must be bad.