reply to the 2nd question:
Modify the cpp example.
Your Makefile can look like this :
app.o: A.o B.o C.o D.o
$(LD) -r -o app.o $(CRTBEGIN) A.o B.o C.o D.o $(CRTEND)
Beware of the rtl_cpp.c file wich failed if multiples files like in your case...
You must split it in 2 files rtl_cpp.c & rtl_cpp.h and include the rtl_cpp.h in yours
files.
See previous mail : "Need HELP!!! What is not correct?" (3 sept 2002)
Bye.
>>> niranjan <[EMAIL PROTECTED]> 08/10/02 05h44 >>>
hi,
is there any tool for RTlinux for creating projects like(visual c++
editor,turbo C++ editors)...
so that we can easily create projects......
if not can some body help me in writing a MakeFile...
i have a "main.cpp" and other source files include
A.cpp
B.cpp
C.cpp
D.cpp
and corresponding header files
A.h
B.h
C.h
D.h
files, each header files consists a declaration of a class of the same
name and each cpp files conists definition of that class finally
main.cpp uses all those classes ...
i want to do this because i need to convert a c++ application on windows
2000 to RTlinux...
bye
Niranjan
______________________________________
Scanned and protected by email scanner
_______________________________________________
Rtl mailing list
[EMAIL PROTECTED]
http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl
_______________________________________________
Rtl mailing list
[EMAIL PROTECTED]
http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl