<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How are you doing ?</FONT></DIV>
<DIV><FONT face=Arial size=2>I found out that some of you compile Aspect
C++ for symbian.</FONT></DIV>
<DIV><FONT face=Arial size=2>I am trying to do the same but I am not
successful until now.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My issues are the following (Sorry It is actually
a really long history) ...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to compile the example that come with
AC called Action. Using the plugin for Visual Studio .NET 2003 it is
working really good.</FONT></DIV>
<DIV><FONT face=Arial size=2>I will compile now from command
line...</FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2>1. Way</FONT><FONT face=Arial
size=2> using C:\Symbian\7.0s\Series60_v20\Epoc32\include\libc for the
headers file.</FONT></STRONG></DIV>
<DIV><FONT size=1>
<P><FONT face=Arial color=#008000 size=2>C:\MySource\ac>ac++ -p
examples\Action -d examples\Action-out -Iexamples\Action -v9
-I"C:\Symbian\7.0s\Series60_v20\Epoc32\include\libc"</FONT></P>
<P><FONT face=Arial color=#008000 size=2>* Running ac++ 0.9.3</FONT></P>
<P><FONT face=Arial color=#008000 size=2>* Simple Dependency Check</FONT></P>
<P><FONT face=Arial color=#008000 size=2>- new or modified:
examples/Action/Action.ah</FONT></P>
<P><FONT face=Arial color=#008000 size=2>* Handling Translation Unit
`main.cc'.</FONT></P>
<P><FONT face=Arial color=#008000 size=2>- Path
"examples/Action/main.cc"</FONT></P>
<P><FONT face=Arial color=#008000 size=2>- Inserting namespace AC</FONT></P>
<P><FONT face=Arial color=#008000 size=2>- Parsing ...</FONT></P>
<P><FONT face=Arial color=#008000
size=2>C:/Symbian/7.0s/Series60_v20/Epoc32/include/libc/stddef.h:13: error:
`signed' or `unsigned' invalid for given type</FONT></P>
<P><FONT face=Arial color=#008000
size=2>C:/Symbian/7.0s/Series60_v20/Epoc32/include/libc/stdio.h:121: error:
invalid declaration near token `FILE'</FONT></P>
<P><FONT face=Arial color=#008000
size=2>C:/Symbian/7.0s/Series60_v20/Epoc32/include/libc/stdio.h:122: error:
invalid declaration near token `FILE'</FONT></P>
<P><FONT face=Arial color=#008000
size=2>C:/Symbian/7.0s/Series60_v20/Epoc32/include/libc/stdio.h:123: error:
invalid declaration near token `FILE'</FONT></P>
<P><FONT face=Arial color=#008000
size=2>C:/Symbian/7.0s/Series60_v20/Epoc32/include/libc/stdio.h:133: error:
invalid declaration near token `FILE'</FONT></P>
<P><FONT face=Arial size=2>....</FONT></P>
<P><FONT face=Arial size=2><STRONG>2. Way<FONT face=Arial size=2> using
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include for the headers
file.</FONT></STRONG></FONT></P></FONT></DIV>
<DIV><FONT face=Arial color=#008000 size=2>C:\MySource\ac>ac++ -p
examples\Action -d examples\Action-out -Iexamples\Action -v9 -I"C:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include"</FONT></DIV>
<DIV><FONT face=Arial color=#008000 size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT color=#008000>* Running ac++ 0.9.3<BR>*
Simple Dependency Check<BR> - new or modified:
examples/Action/Action.ah<BR>* Handling Translation Unit `main.cc'.<BR>
- Path "examples/Action/main.cc"<BR> - Inserting namespace AC<BR>
- Parsing ...<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:70: error: invalid declaration near token
`unsigned'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:286: error: invalid declaration near token
`__cdecl'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:292: error: invalid declaration near token
`__cdecl'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:313: error: invalid declaration near token
`,'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:314: error: invalid declaration near token
`*'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:318: error: invalid declaration near token
`const'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:326: error: invalid declaration near token
`*'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:361: error: invalid declaration near token
`*'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:366: error: `swprintf' already defined<BR>C:/Program
Files/Microsoft Visual Studio .NET 2003/Vc7/include/stdio.h:363: previously
defined here<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:371: error: invalid declaration near token
`*'<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:376: error: `vswprintf' already defined<BR>C:/Program
Files/Microsoft Visual Studio .NET 2003/Vc7/include/stdio.h:373: previously
defined here<BR>C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/include/stdio.h:381: error: invalid declaration near token
`const'</FONT><BR> - Aborting</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>3. Way using "C:\Program Files\Microsoft
Visual Studio\VC98\Include"</STRONG><BR></FONT></DIV>
<DIV><FONT face=Arial color=#008000 size=2>C:\MySource\ac>ac++ -p
examples\Action -d examples\Action-out -Iexamples\Action -v9 -I"C:\Program
Files\Microsoft Visual Studio\VC98\Include"<BR>* Running ac++ 0.9.3<BR>*
Simple Dependency Check<BR> - new or modified:
examples/Action/Action.ah<BR>* Handling Translation Unit `main.cc'.<BR>
- Path "examples/Action/main.cc"<BR> - Inserting namespace AC<BR>
- Parsing ...<BR> - Setting Aspect Access Priviledges ...<BR> -
Weaving Introductions ...<BR> - intros for Action<BR> - intros for
ActionB<BR> - Aspect ordering ...<BR> - Final checks before
weaving introductions<BR> - Class Join Points<BR> - Weaving Advice
Declarations ...<BR>
Action::%a0_around<BR>
Action::%a1_around<BR>
ActionB::%a0_around<BR> ActionB::%a1_around<BR> -
Weaving Singleton Aspects ...<BR> - Aspect Includes ...<BR> -
Commiting<BR> - Parsing again ...<BR> - Weaving Join Points
...<BR> Advicecode manipulation<BR>
Collecting Advice<BR> Setting up thisJoinPoint
for aspectof<BR> Supplying aspectof() with
JoinPoint and tjp if needed<BR> Action:
__a0_around<BR> Evaluate
Pointcut<BR> Action:
__a1_around<BR> Evaluate
Pointcut<BR> Setting up thisJoinPoint for
aspectof<BR> Supplying aspectof() with JoinPoint
and tjp if needed<BR> ActionB:
__a0_around<BR> Evaluate
Pointcut<BR> ActionB:
__a1_around<BR> Evaluate
Pointcut<BR> Aspect ordering ...<BR> Final
checks before weaving code join points<BR> Type Check
Functions<BR> Call Join
Points<BR> int
A::a(int,float)<BR> void b(char,char
*)<BR> Execution Join
Points<BR> int
A::a(int,float)<BR> void b(char,char
*)<BR> Construction Join Points<BR>
Destruction Join Points<BR> - Aspect Includes ...<BR> - Final
cleanup<BR> - Commiting<BR>* Handling include files<BR> - Handling
Translation Unit `ac_gen.cc'.<BR> Path
"examples/Action/ac_gen.cc"<BR> Inserting namespace
AC<BR> Parsing ...<BR> Setting Aspect
Access Priviledges ...<BR> Weaving Introductions
...<BR> intros for Action<BR> intros for
ActionB<BR> Aspect ordering ...<BR> Final
checks before weaving introductions<BR> Class Join
Points<BR> Weaving Advice Declarations
...<BR>
Action::%a0_around<BR>
Action::%a1_around<BR>
ActionB::%a0_around<BR>
ActionB::%a1_around<BR> Weaving Singleton Aspects
...<BR> Aspect Includes ...<BR>
Commiting<BR> Parsing again ...<BR>
Weaving Join Points ...<BR> Advicecode
manipulation<BR> Collecting
Advice<BR> Setting up thisJoinPoint
for aspectof<BR> Supplying
aspectof() with JoinPoint and tjp if
needed<BR> Action:
__a0_around<BR> Evaluate
Pointcut<BR> Action:
__a1_around<BR> Evaluate
Pointcut<BR> Setting up
thisJoinPoint for aspectof<BR>
Supplying aspectof() with JoinPoint and tjp if
needed<BR> ActionB:
__a0_around<BR> Evaluate
Pointcut<BR> ActionB:
__a1_around<BR> Evaluate
Pointcut<BR> Aspect ordering
...<BR> Final checks before weaving code join
points<BR> Type Check
Functions<BR> Call Join
Points<BR> Execution Join
Points<BR> Construction Join
Points<BR> Destruction Join
Points<BR> Aspect Includes ...<BR> Final
cleanup<BR> Commiting<BR>* Saving<BR> - Project
tree<BR>* Done</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>With the last one I get a processed cc file
on the Action-out directory.</FONT></DIV>
<DIV><FONT face=Arial size=2>It could be that the issues arise because I
am trying to compile a non symbian code, action example, with a symbian
stdio.h header. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><STRONG><FONT face=Arial size=2>Another Way, using the
makefile</FONT></STRONG><STRONG><FONT face=Arial size=2></FONT></STRONG></DIV>
<DIV><FONT face=Arial size=2>Following I tested to use the
makefile.</FONT></DIV>
<DIV><FONT face=Arial size=2>A pumavc6.cfg was created with the following
lines...</FONT></DIV>
<DIV><FONT face=Arial color=#008000 size=2>-A machine(i386)<BR>-A
plattform(win32)<BR>-D __cplusplus<BR>-D _WIN32<BR>-D __cplusplus<BR>-D
_WCHAR_T_DEFINED<BR>-D _M_IX86<BR>-D _MSC_VER=1300<BR>-D
__STDC__<BR>-I"C:\Program Files\Microsoft Visual
Studio\VC98\Include"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Make was executed then succesfully except
with the observer pattern example.</FONT></DIV>
<DIV><FONT face=Arial color=#008000 size=2>ac++ -v1 --config pumavc6.cfg
-Iexamples/Action -pexamples/Action -dexamples/Action-out<BR>* Running ac++
0.9.3<BR>* Simple Dependency Check<BR>* Saving<BR>* Done<BR>copy
examples\Action\Makefile
examples\Action-out\Makefile<BR> 1
file(s) copied.<BR>ac++ -v1 --config pumavc6.cfg -Iexamples/CFlow
-pexamples/CFlow -dexamples/CFlow-out<BR>* Running ac++ 0.9.3<BR>* Simple
Dependency Check<BR>* Saving<BR>* Done<BR>copy examples\CFlow\Makefile
examples\CFlow-out\Makefile<BR> 1
file(s) copied.<BR>ac++ -v1 --config pumavc6.cfg -Iexamples/Cache
-pexamples/Cache -dexamples/Cache-out<BR>* Running ac++ 0.9.3<BR>* Simple
Dependency Check<BR>* Saving<BR>* Done<BR>copy examples\Cache\Makefile
examples\Cache-out\Makefile<BR> 1
file(s) copied.<BR>ac++ -v1 --config pumavc6.cfg -Iexamples/FigureObserver
-pexamples/FigureObserver -dexamples/FigureObserver-out<BR>* Running ac++
0.9.3<BR>* Simple Dependency Check<BR>* Saving<BR>* Done<BR>copy
examples\FigureObserver\Makefile
examples\FigureObserver-out\Makefile<BR>
1 file(s) copied.<BR>ac++ -v1 --config pumavc6.cfg -Iexamples/ID -pexamples/ID
-dexamples/ID-out<BR>* Running ac++ 0.9.3<BR>* Simple Dependency Check<BR>*
Saving<BR>* Done<BR>copy examples\ID\Makefile
examples\ID-out\Makefile<BR> 1
file(s) copied.<BR>ac++ -v1 --config pumavc6.cfg -Iexamples/IconCache
-pexamples/IconCache -dexamples/IconCache-out<BR>* Running ac++ 0.9.3<BR>*
Simple Dependency Check<BR>* Saving<BR>* Done<BR>copy
examples\IconCache\Makefile
examples\IconCache-out\Makefile<BR>
1 file(s) copied.<BR>ac++ -v1 --config pumavc6.cfg -Iexamples/Instances
-pexamples/Instances -dexamples/Instances-out<BR>* Running ac++ 0.9.3<BR>*
Simple Dependency Check<BR>* Saving<BR>* Done<BR>copy
examples\Instances\Makefile
examples\Instances-out\Makefile<BR>
1 file(s) copied.<BR>ac++ -v1 --config pumavc6.cfg -Iexamples/ObserverPattern
-pexamples/ObserverPattern -dexamples/ObserverPattern-out<BR>* Running ac++
0.9.3<BR>* Simple Dependency Check<BR>* Handling Translation Unit
`AnalogClock.cc'.<BR>C:/Program Files/Microsoft Visual
Studio/VC98/Include/stdlib.h:260: error: invalid declaration near token
`void'<BR>C:/Program Files/Microsoft Visual Studio/VC98/Include/stdlib.h:261:
error: invalid declaration near token `void'<BR>C:/Program Files/Microsoft
Visual Studio/VC98/Include/stdlib.h:353: error: invalid declaration near token
`void'<BR>C:/Program Files/Microsoft Visual Studio/VC98/Include/eh.h:67:
error: invalid declaration near token `void'<BR>C:/Program Files/Microsoft
Visual Studio/VC98/Include/eh.h:68: error: invalid declaration near token
`void'<BR>C:/Program Files/Microsoft Visual Studio/VC98/Include/xtree:68:
error: `iterator' has no member named
`_Ptr'<BR>C:\Symbian\7.0s\Series60_v20\epoc32\tools\make.exe: ***
[ObserverPattern.make] Error 1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>After that, I've gotten a Makefile into the
Action-out directory.</FONT></DIV>
<DIV>The makefile is the following ...</DIV>
<DIV><FONT color=#008000>C:\MySource\ac\examples\Action-out>type
Makefile<BR>CXX ?= cl</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV><FONT color=#008000>action:
main.cc<BR> $(CXX) $(CXXFLAGS) -o
action main.cc -I"C:\Program Files\Microsoft Visual
Studio\VC98\Include"</FONT></DIV>
<DIV> </DIV>
<DIV>I get however extrange errors with the spaces on the path.</DIV>
<DIV> </DIV>
<DIV><FONT
color=#008000>C:\MySource\ac\examples\Action-out>make<BR>C:\Symbian\7.0s\Series60_v20\epoc32\tools\make.exe:
*** No rule to make target `/Program', needed by `main.cc'.
Stop.</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV>I tried then to use the following command ...</DIV>
<DIV> </DIV>
<DIV><FONT color=#008000>C:\MySource\ac\examples\Action-out>cl -o
action main.cc -I"C:\Program Files\Microsoft Visual
Studio\VC98\Include"</FONT></DIV>
<DIV> </DIV>
<DIV>I get then the following result ...</DIV>
<DIV><FONT color=#008000><BR>Microsoft (R) 32-bit C/C++ Optimizing Compiler
Version 12.00.8804 for 80x86<BR>Copyright (C) Microsoft Corp 1984-1998. All
rights reserved.</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV><FONT color=#008000>Command line warning D4024 : unrecognized source file
type 'main.cc', object file assumed<BR>Microsoft (R) Incremental Linker
Version 6.00.8447<BR>Copyright (C) Microsoft Corp 1992-1998. All rights
reserved.</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV><FONT
color=#008000>/out:main.exe<BR>/out:action.exe<BR>main.cc<BR>main.cc : fatal
error LNK1136: invalid or corrupt file</FONT></DIV>
<DIV> </DIV>
<DIV>So I rename the main.cc to main.cpp and try again.</DIV>
<DIV>I get now a different error. </DIV>
<DIV><FONT color=#008000>C:\MySource\ac\examples\Action-out>cl -o
action main.cpp -I"C:\Program Files\Microsoft Visual
Studio\VC98\Include"<BR>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
12.00.8804 for 80x86<BR>Copyright (C) Microsoft Corp 1984-1998. All rights
reserved.</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV><FONT color=#008000>main.cpp<BR>(6) : error C2252: 'JPID' : pure
specifier can only be specified for functions<BR>(7) : error C2258: illegal
pure syntax, must be '= 0'<BR>(7) : error C2252: 'JPTYPE' : pure specifier can
only be specified for functions<BR>(4) : error C2100: illegal
indirection<BR>(4) : error C2100: illegal indirection<BR>(4) : error C2664:
'__exec_old_a' : cannot convert parameter 1 from 'void *' to
'int'<BR> This conversion requires a
reinterpret_cast, a C-style cast or function-style cast<BR>(4) : fatal error
C1903: unable to recover from previous error(s); stopping
compilation<BR></FONT></DIV>
<DIV><FONT color=#008000><FONT color=#000000>I've just found a bat file inside
</FONT></FONT></DIV>
<DIV><FONT color=#008000><FONT color=#000000>C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\bin</FONT></FONT></DIV>
<DIV><FONT color=#008000><FONT color=#000000>... which it is called ...
vcvars32.bat </FONT></FONT></DIV>
<DIV><FONT color=#008000><FONT color=#000000></FONT></FONT> </DIV>
<DIV><FONT color=#008000><FONT color=#000000>I executed that script from the
comand line and then I execute ...</FONT></FONT></DIV><FONT
color=#008000><FONT color=#000000>
<DIV><BR><FONT color=#008000>C:\MySource\ac\examples\Action-out>cl -o
action main.cpp -I"C:\Program Files\Microsoft Visual
Studio\VC98\Include"<BR>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
13.10.3077 for 80x86<BR>Copyright (C) Microsoft Corporation 1984-2002. All
rights reserved.</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV><FONT color=#008000>main.cpp<BR>Microsoft (R) Incremental Linker Version
7.10.3077<BR>Copyright (C) Microsoft Corporation. All rights
reserved.</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV></FONT><FONT
color=#008000>/out:main.exe<BR>/out:action.exe<BR>main.obj</FONT></DIV>
<DIV><FONT color=#000000></FONT> </DIV>
<DIV><FONT color=#000000>So I get a main.exe with the headers from "C:\Program
Files\Microsoft Visual Studio\VC98\Include" and the compiler VC7.
!!!????</FONT></DIV>
<DIV><FONT color=#000000></FONT> </DIV>
<DIV><FONT color=#000000>The result is the following ...</FONT></DIV>
<DIV>C:\MySource\ac\examples\Action-out>action<BR>A: before(call) int
A::a(int,float)<BR>that : 00000000<BR>target: 0012FEE3<BR>B:
before(call) int A::a(int,float)<BR>that : 00000000<BR>target:
0012FEE3<BR>A: before(exec) int A::a(int,float)<BR>that :
0012FEE3<BR>target: 0012FEE3<BR>B: before(exec) int
A::a(int,float)<BR>that : 0012FEE3<BR>target: 0012FEE3<BR>inside
A::a(4711, 3.140000)<BR>B: after(exec) int A::a(int,float)<BR>A: after(exec)
int A::a(int,float)<BR>B: after(call) int A::a(int,float)<BR>A: after(call)
int A::a(int,float)<BR>A: before(call) void b(char,char *)<BR>that :
00000000<BR>target: 00000000<BR>B: before(call) void b(char,char
*)<BR>that : 00000000<BR>target: 00000000<BR>A: before(exec) void
b(char,char *)<BR>that : 00000000<BR>target: 00000000<BR>B: before(exec)
void b(char,char *)<BR>that : 00000000<BR>target: 00000000<BR>inside
b(H, ello World)<BR>B: after(exec) void b(char,char *)<BR>A: after(exec) void
b(char,char *)<BR>B: after(call) void b(char,char *)<BR>A: after(call) void
b(char,char *)</DIV></FONT>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV>The problem actually is that I cannot get the gcc to compile the code
which I need to compile for ARM processors.</DIV>
<DIV>If I try to use GCC I get the problem which follows ...</DIV>
<DIV> </DIV>
<DIV><FONT color=#008000>C:\MySource\ac\examples\Action-out>gcc -o action
main.cpp -I"C:\Program Files\Microsoft Visual Studio\VC98\Include"<BR>gcc.exe:
Files\Microsoft: No such file or directory<BR>gcc.exe: Visual: No such file or
directory<BR>gcc.exe: Studio\VC98\Include: No such file or directory<BR>In
file included from :1:<BR>examples/Action/Action.ah:1:19: stdio.h: No such
file or directory<BR>examples/Action/main.cc:1:19: stdio.h: error
0</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV><FONT color=#008000>C:\MySource\ac\examples\Action-out>gcc
--version<BR>3.0-psion-98r2<BR></FONT></DIV>
<DIV><FONT color=#008000><FONT color=#000000>I test another way. I set up the
path as follows ...</FONT></FONT></DIV>
<DIV><FONT color=#008000>C:\MySource\ac\examples\Action-out>set
PATH=C:\Symbian\7.0s\Series60_v20\Epoc32\tools;%PATH%</FONT></DIV>
<DIV><FONT color=#008000><FONT color=#000000></FONT></FONT> </DIV>
<DIV><FONT color=#008000><FONT color=#000000>At that moment the make.exe from
symbian will be used.</FONT></FONT></DIV>
<DIV>I get then a different error from the make utility.</DIV>
<DIV> </DIV>
<DIV><FONT
color=#008000>C:\MySource\ac\examples\Action-out>make<BR>gcc -o
action main.cpp -I"C:\Program Files\Microsoft Visual
Studio\VC98\Include"<BR>In file included from
examples/Action/Action.ah:1,<BR>
from :1:<BR>C:/Program Files/Microsoft Visual
Studio/VC98/Include/stdio.h:23:2: #error ERROR: Only Mac or Win32 targets
supported!<BR>In file included from
examples/Action/Action.ah:1,<BR>
from :1:<BR>C:/Program Files/Microsoft Visual Studio/VC98/Include/stdio.h:310:
warning: new<BR> declaration `int fprintf(FILE*, const char*,
...)'<BR>C:/Program Files/Microsoft Visual Studio/VC98/Include/stdio.h:310:
warning: ambiguates<BR> built-in declaration `int fprintf(void*,
const char*, ...)'<BR>make: *** [action] Error 1</FONT></DIV>
<DIV> </DIV>
<DIV>I add the following to the gcc -D _WIN32.</DIV>
<DIV>The makefile is now that ...</DIV>
<DIV><FONT color=#008000>CXX2 ?= gcc</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV><FONT color=#008000>action: main.cpp<BR> $(CXX2) $(CXXFLAGS) -o
action main.cpp -I "C:\Program Files\Microsoft Visual Studio\VC98\Include" -D
_WIN32</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV>And I get the last :-) error which I totally ignore what it
is...</DIV>
<DIV><FONT color=#008000>gcc -o action main.cpp -I "C:\Program
Files\Microsoft Visual Studio\VC98\Include" -D _WIN32<BR>In file included from
examples/Action/Action.ah:1,<BR>
from :1:<BR>C:/Program Files/Microsoft Visual Studio/VC98/Include/stdio.h:310:
warning: new<BR> declaration `int fprintf(FILE*, const char*,
...)'<BR>C:/Program Files/Microsoft Visual Studio/VC98/Include/stdio.h:310:
warning: ambiguates<BR> built-in declaration `int fprintf(void*,
const char*, ...)'<BR><FONT
color=#800000>/Symbian/7.0s/Series60_v20/Epoc32/gcc/arm-epoc-pe/bin/ld: cannot
open crt0.o: No such file or directory<BR>collect2: ld returned 1 exit
status</FONT><BR>make: *** [action] Error 1</FONT></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV> </DIV>
<DIV>Any idea what I am doing wrong ? Have you already success to
compile projects with aspect c++ for Symbian ? Is it robust enough ?</DIV>
<DIV> </DIV>
<DIV>Thanks for any tip.</DIV>
<DIV><FONT color=#008000><FONT
color=#000000><STRONG></STRONG></FONT></FONT> </DIV>
<DIV><FONT color=#008000><STRONG><FONT
color=#000000></FONT></STRONG> </DIV></FONT>
<DIV>Best wishes,</DIV>
<DIV>Marti</DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>