Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] problem creating a custom toolchain`s linker

Dear Group,
 
 
I bring up this subject once again, as I still have the issue. I haven`t got any reply on this, nor in the forums. After this I won`t bother the list again, but I had to give it a last chance.
 
Regards,
tamas

>>> Tamas Csabina 15-11-2012 08:38 >>>
Hi,
 
First of all I have to say that I know that this list is not the best place to ask questions like mine, but after days of struggle I have no option left. I tried the users forums already, but got no replies to my questions there.
Searching through the archives I have found similar questions to be asked, so I dared to fire mine.
 
About the problem:
Currently we use the MinGW Toolchain to build our C projects. We use a special compiler and linker instead of gcc, and this is working fine.
But as the mingw toolchain`s linker got so many options that we don`t use, I want to create a custom toolchain, which only contains the options for our compiler and linker.
Alternatively I could inherit the not used options, and use the applicabilityCalculator to hide them, but as far as I know it can be used for options only and not for optionCategory, so that won`t do the trick.
 
 
So I`ve ran through the Managed Build System Extensibility Document to create my custom toolchain. Did the tutorial in Chapter 6. But unfortunately the document doesn`t describe how to create a linker tool. What fields are necessary to make this linker work? Because no matter what I do with my linker tool, during project build I got "Nothing to build".
If I inherit the GCC C Linker (cdt.managedbuild.tool.gnu.c.linker) the project builds fine, so I guess my other objects (compiler, builder, target platform, tool-chain, configuration, projectType) are working fine.
 
 
What I also don`t understand, is why a misconfigured linker avoids compilation? It is okay that a complete build won`t happen without a proper linker, but at least I want to see compilation happening, as the builder (to collect what to compile) and the compiler are working fine. Or do I miss some concept here?
 
 
 
I am also willing to create a howto/faq/doc about the subject when I gathered the required information, as there is nothing available at the moment. Probably it would help others out there...
 
 
 
Thanks and regards,
tamas

--
SERCOM Regeltechniek B.V.
Heereweg 9
2161 AB Lisse
Nederland
+31 (0)252 416530 (voice)
+31 (0)252 419481 (fax)

http://www.sercom.nl/

Op al onze offertes, op alle opdrachten aan ons en op alle met ons gesloten overeenkomsten zijn toepasselijk de METAALUNIEVOORWAARDEN, gedeponeerd ter Griffie van de Rechtbank te Rotterdam, zoals deze luiden volgens de laatstelijk aldaar neergelegde tekst. De leveringsvoorwaarden worden u op verzoek toegezonden.

De informatie/inhoud van dit e-mail bericht (en bijlagen) is uitsluitend bestemd voor de geadresseerden. SERCOM staat niet in voor juiste dan wel volledige overbrenging van de inhoud van dit e-mail bericht. SERCOM kan niet garanderen dat een verzonden e-mail bericht wordt overgebracht zonder inbreuk of tussenkomst van derden, noch de tijdige ontvangst ervan. Indien bovenstaand e-mail bericht niet aan u is gericht, verzoeken wij u vriendelijk doch dringend het e-mail bericht te retourneren aan de verzender en het origineel en eventuele kopieën te verwijderen en te vernietigen.


The information in this e-mail is intended only for use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Access to this e-mail by anyone else than the addressee is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken omitted to be taken in reliance of it, is prohibited and may be unlawful. If you are not the intended recipient please contact the sender by return e-mail and destroy all copies of the original message.
---

Back to the top