How to make a make file in order to use c++
[email protected] Tue, 14 Nov 2006 22:45:45 +0900
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <002801c707f3$308469a0$051410ac@vasin> |
This is a multi-part message in MIME format. --===============0508921564== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0025_01C7083E.9F491570" This is a multi-part message in MIME format. ------=_NextPart_000_0025_01C7083E.9F491570 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Now I am using kgcc for a compiler. I installed rtlinux-3.1 VS = linux-2.4.4. In the example program coming with rtlinux that names "frank" which is = about RT-FIFO. The frank program consists of 2 sections: frank_app.c = (user space) and frank_module.c (real-time module). frank_app can = comunicate with frank_module via RT-FIFO. The information about RT-FIFO = is written in header file that shares together between frank_app.c and = frank_module.c. However both files are written in C language.=20 My question is that is it possible to write frank_app in C++? and how to = do it? Note: I don't know how to deal with makefile. Sincerely yours, Vasin ------=_NextPart_000_0025_01C7083E.9F491570 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Now I am using kgcc for a compiler. I = installed=20 rtlinux-3.1 VS linux-2.4.4.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>In the example program coming with = rtlinux that=20 names "frank" which is about RT-FIFO. The frank program consists of 2 = sections:=20 frank_app.c (user space) and frank_module.c (real-time module). = frank_app=20 can comunicate with frank_module via RT-FIFO. The information about = RT-FIFO is=20 written in header file that shares together between frank_app.c and=20 frank_module.c. </FONT><FONT face=3DArial size=3D2>However both files = are written in=20 C language. </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>My question is that is it possible to = write=20 frank_app in C++? and how to do it?</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Note: I don't know how to deal with=20 makefile.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Sincerely yours, Vasin</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML> ------=_NextPart_000_0025_01C7083E.9F491570-- --===============0508921564== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Rtl mailing list [email protected] http://hq.fsmlabs.com/mailman/listinfo/rtl http:/www.rtlinux-gpl.org/ --===============0508921564==--