You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Thorsten Schöning <ts...@am-soft.de> on 2014/01/21 22:23:06 UTC

How to deactivate or hook linking in ant-contrib cpptasks?

Hi,

I have a problem with the build process and started a question on
stackoverflow. I would appreciate if some of you with deeper knowledge
of ant and cpptasks could have a look on my problem.

Thanks!

> I have a project which uses ant as build tool and cpptasks for the
> compilation and linking process because it wants to support
> different compilers and platforms. I use the Embarcadero C++ Builder
> XE 4, which is a successor of the Borland C++ Builder which is
> supported by cpptasks. But I found some bugs in the linker logic of
> cpptasks, know it's unsupported these days and don't want to fix
> those bugs myself and build a new library etc. I would rather fix
> the problems with a workaround in some way other users with the same
> compiler could benefit from. I thought of some little shell script
> or something which could be versioned with the project itself.

> My problem now is that it seems like the compilation works, only the
> linking fails because of wrong path and quotation handling of the
> linker logic of cpptasks.

> Is there any way I could deactivate linking of the "cc" task of
> cpptasks to implement it on my own? Or any hook I could use to
> interact with the linking after it generated it's response file for
> ilink32? It uses wrong quotes with paths containing a space, which
> is the default with XE 4, and this way I could simply correct the
> answer file.

http://stackoverflow.com/questions/21269335/how-to-deactivate-or-hook-linking-in-ant-contrib-cpptasks

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Re: How to deactivate or hook linking in ant-contrib cpptasks?

Posted by Rhys Ulerich <rh...@gmail.com>.
> I have a problem with the build process and started a question on
> stackoverflow....
>
> http://stackoverflow.com/questions/21269335/how-to-deactivate-or-hook-linking-in-ant-contrib-cpptasks

I don't know those systems well, but I have done the cowardly thing
and upvoted the question on SO.

- Rhys