Forum Discussion
Altera_Forum
Honored Contributor
20 years agonios2-elf-ld -Ur
hello! my nios2 system have a problem. the complier can't find the errror when I use a inexistent function,for example: main() { aa(); } aa is not exsist. when the complier li...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by smalllight@Jun 28 2006, 03:54 AM hello!
my nios2 system have a problem. the complier can't find the errror when i use a inexistent function,for example:
main()
{
aa();
}
aa is not exsist.
when the complier link the object files, it can't find any error.
i find i use "-ur" as a one of the parameters of nios2-elf-ld command.
if i delete it, the complier will find the error.
i get the meaning of "-ur"" from nios2-elf-ld --help
the meaning is "build global constructor/destructor tables"
but i can't understand it.can you tell me more?
thank you.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16462)
--- quote end ---
--- Quote End --- is -Wall in your CFLAGS?