Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » IAR Linker Issue(IAR Linker doesn't seem to recognize __far_func )
IAR Linker Issue [message #1766637] Fri, 23 June 2017 14:05 Go to next message
Eclipse UserFriend
I'm trying to use Eclipse (MARS) with IAR Embedded Workbench for compilation and linking the code. I have been successful in compilation but unable to link the code due to an error.

Sample Code
The function is defined in .c file file, void function_init(); The function prototype is in .h file is extern __far_func function_init();

The function_init is referenced in another file as function_init();

So when I'm linking, the eclipse linker option doesn't seem to recognize __far_func.

I have enabled the library being used, but still doesn't seem to link.

Please let me know what I'm missing or must modify to have this successful linking
Re: IAR Linker Issue [message #1766932 is a reply to message #1766637] Wed, 28 June 2017 16:06 Go to previous message
Eclipse UserFriend
Sounds like an issue to discuss with IAR and not an Eclipse/CDT issue.
There is no linker in Eclipse.
It does have the ability to build a link rule for Make but what it does depends on the linker being used.
Any issues with the linker should be taken up by the providers of that linker.


Previous Topic:Still can't include 3rdparty library after an hour of various tutorials
Next Topic:multiple variable declaration
Goto Forum:
  


Current Time: Thu Mar 27 01:19:41 EDT 2025

Powered by FUDForum. Page generated in 0.04114 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top