[aspectc-user] weaving twice
Olaf Spinczyk
Olaf.Spinczyk at informatik.uni-erlangen.de
Tue Oct 23 18:02:17 CEST 2007
Hi Francisco,
this should be possible. Make sure that you treat library and
application as separate "projects" (-> see -p option) and generate
transformed header files of the library for your application (-> see -i
option).
Example:
Let's assume you have two directories "app" and "lib" for your
application source code and your library source code.
1. translate your library with "-p lib"
2. generate tranformed header files with "-p lib -d lib-inc -i"
3. compile the application with "-p app" and use "-I lib-inc"
Did you already try it that way?
Olaf
Francisco Afonso wrote:
> Hi,
>
> Is it possible to use AspectC++ to weave an API, then create a library, and finally weave an application code that uses this library?
>
> In my program I am receiving a "segmentation fault" when running acc++.
>
> I think that the problem happens because the second weaving needs to use the include files from the library, which had been changed by acc++ previously.
>
> Am I right ?
>
> Francisco
>
>
>
>
>
> _________________________________________________________________
> Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power.
> http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user
>
More information about the aspectc-user
mailing list