Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [cdt-dev] Linker must be the target Tool ?

Hi Rekha,

Ok thank you. Thats what I guessed because these special valueTypes does not really fit into the concept ;) 

I added a new bug related to this issue yesterday:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=146923 


Mit freundlichen Grüßen,
 
Webasto AG
 
i.A. Enrico Ehrich
Research & Development / WEC²
Software Engineer

Kraillinger Str. 5
82131 Stockdorf
Germany
 
Phone +49 89 85794-8490 
Fax     +49 89 85794-759 
mailto:ehriche@xxxxxxxxxx
http://www.webasto.de
 
 
CONFIDENTIALITY This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium.

-----Ursprüngliche Nachricht-----
Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Rekha Deshmukh
Gesendet: Mittwoch, 14. Juni 2006 06:27
An: cdt-dev@xxxxxxxxxxx
Betreff: [cdt-dev] Linker must be the target Tool ?


Hi Enrico,

We also faced same problem as our target tool was not the linker but it was the other tool which worked on linker output.
We have then extended the makefile generator for these two methods which handle libs and external user objs and explicitly pointed them to the linker tool. 
But this was a workaround we did and we too look forward for a proper solution.

Regards,
Rekha Bhintade
----------Original Message-----------
Date: Tue, 13 Jun 2006 22:51:02 +0200
From: Enrico Ehrich <newsgroups@xxxxxxxxxx>
Subject: [cdt-dev] Linker must be the target Tool ?
To: cdt-dev@xxxxxxxxxxx
Message-ID: <448F2536.2040308@xxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I see you are busy with the RC3 release but I have something to ask, sorry ;)

Actually I'm creating a little managed builder plugin for an ARM gcc to use for an embedded system (Nintendo DS).
I don't want spent allot time on this, because I do this in my spare time and simply want use and share it.
So I though I can use the usual gnu MBS which is included in the CDT. 
That was easier as I though so a made a
new plugin and inherited the buildDefinitions from org.eclipse.cdt.managedbuilder.gnu.ui and added my special options etc..

The problem I had was, that I need some additional build steps by default as the predefined: cpp,cc,as,ld I need to convert the linked ELF file to an absolute code file and then convert it to a special ROM file with header and so on.
Therefor I added 2 more tools with options, input/outputTypes and set the "targetTool" to the last tool and the extension to the final file extension (e.g. *.nds) in the toolChain.

So it worked well but one thing is not working as I guessed:
The static link libraries (-l) and additional object files does not appear in the autogenerated objects.mk file.
I analysed it and found that the makefile generator class search for this special "libs" and "userObj" valueTypes in the "targetTool". But my targetTool is not the linker!!
I don't want write my own MBS thats too much work. Now I made the workaround that the libs are added as usual stringList to the command line. The same with the other objects but I have to take care about the order.
But I think thats not the right way.

I simply wanted to ask if this problem is known ? Or I missed something and it works using some other tricks ?
It would be nice if this scenario will be supported in future releases of CDT.

ciao
Enrico

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top