Forum Discussion
Altera_Forum
Honored Contributor
13 years agouclinux user application linking to lib
Hello all, I am new to linux and just starting out and have encountred a small problem. I have got uClinux running on my DE2-115 and have writen a user application to print hello world. I put m...
Altera_Forum
Honored Contributor
13 years agoYou used ./configure for the lib, right? Did you use the --host switch and set CC in order to specify you want to cross-compile for the nios2 architecture? I haven't tried it so I can't tell you the exact command.
Actually I'm not sure about how you should build your library. I thought you were just having a hard time to link it, so my hint was to add those lines to your application's Makefile.