Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 18:05 Go to next message
Naveen Halesha is currently offline Naveen HaleshaFriend
Messages: 1
Registered: June 2017
Junior Member
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 20:06 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
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: Sat Apr 20 02:48:38 GMT 2024

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

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

Back to the top