All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] C++ Support for VxWorks Skin of Xenomai?
@ 2006-02-27 21:39 Wu, John
  2006-02-28 11:57 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Wu, John @ 2006-02-27 21:39 UTC (permalink / raw)
  To: xenomai; +Cc: Chau, Ngaiman, Wu, John

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

We at Xerox El Segundo, Calif are new user of VxWork Skin of Xenomai.
We successfully brought up VxWork skin of xenomai 2.0.1on x86 platform
and ran VxWork test program in C. 
 
The question we have is how to build and compile the VxWork skin of
xenomai to support C++ code?

[-- Attachment #2: Type: text/html, Size: 820 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-core] C++ Support for VxWorks Skin of Xenomai?
  2006-02-27 21:39 Wu, John
@ 2006-02-28 11:57 ` Jan Kiszka
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2006-02-28 11:57 UTC (permalink / raw)
  To: Wu, John; +Cc: Chau, Ngaiman, xenomai

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

Wu, John wrote:
> We at Xerox El Segundo, Calif are new user of VxWork Skin of Xenomai.
> We successfully brought up VxWork skin of xenomai 2.0.1on x86 platform
> and ran VxWork test program in C. 
>  
> The question we have is how to build and compile the VxWork skin of
> xenomai to support C++ code?
> 

Did you already try to compile some C++ program against the VxWorks
headers of Xenomai? Kernel or user space? Did you notice any problems?
Then please post the compiler output or even a demo code.

Jan



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [Xenomai-core] C++ Support for VxWorks Skin of Xenomai?
@ 2006-03-01 17:51 Wu, John
  2006-03-01 18:22 ` Gilles Chanteperdrix
  2006-03-01 18:28 ` Jan Kiszka
  0 siblings, 2 replies; 5+ messages in thread
From: Wu, John @ 2006-03-01 17:51 UTC (permalink / raw)
  To: jan.kiszka; +Cc: Chau, Ngaiman, xenomai

Jan,

We don't know how to compile the VxWork skin of xenomai to support C++
code.  We need some help!

Thanks,

John 

-----Original Message-----
From: jan.kiszka@domain.hid [mailto:jan.kiszka@domain.hid
Sent: Tuesday, February 28, 2006 3:58 AM
To: Wu, John
Cc: xenomai@xenomai.org; Chau, Ngaiman
Subject: Re: [Xenomai-core] C++ Support for VxWorks Skin of Xenomai?

Wu, John wrote:
> We at Xerox El Segundo, Calif are new user of VxWork Skin of Xenomai.
> We successfully brought up VxWork skin of xenomai 2.0.1on x86 platform

> and ran VxWork test program in C.
>  
> The question we have is how to build and compile the VxWork skin of 
> xenomai to support C++ code?
> 

Did you already try to compile some C++ program against the VxWorks
headers of Xenomai? Kernel or user space? Did you notice any problems?
Then please post the compiler output or even a demo code.

Jan




^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [Xenomai-core] C++ Support for VxWorks Skin of Xenomai?
  2006-03-01 17:51 [Xenomai-core] C++ Support for VxWorks Skin of Xenomai? Wu, John
@ 2006-03-01 18:22 ` Gilles Chanteperdrix
  2006-03-01 18:28 ` Jan Kiszka
  1 sibling, 0 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2006-03-01 18:22 UTC (permalink / raw)
  To: Wu, John; +Cc: xenomai

Wu, John wrote:
 > Jan,
 > 
 > We don't know how to compile the VxWork skin of xenomai to support C++
 > code.  We need some help!

Unless we are missing something, there is no need to compile vxworks
skin in a special way in order to support C++ code.

Xenomai vxworks skin functions are declared extern "C" in
vxworks/vxworks.h when it is included in C++ code.
So, if you want to call vxworks function from C++ code, all you have to
do is to include vxworks/vxworks.h.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Xenomai-core] C++ Support for VxWorks Skin of Xenomai?
  2006-03-01 17:51 [Xenomai-core] C++ Support for VxWorks Skin of Xenomai? Wu, John
  2006-03-01 18:22 ` Gilles Chanteperdrix
@ 2006-03-01 18:28 ` Jan Kiszka
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2006-03-01 18:28 UTC (permalink / raw)
  To: Wu, John; +Cc: Chau, Ngaiman, xenomai

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

Wu, John wrote:
> Jan,
> 
> We don't know how to compile the VxWork skin of xenomai to support C++
> code.  We need some help!
> 

Sorry, I still don't get your problem. Regarding compiling and linking,
there should be nothing special about C++ vs. C and Xenomai's VxWorks
skin (bugs aside). It's like compiling your C++ code against any kind of
(C-)library.

Please report concrete problems when trying to do this ("I ran this
command and got that error"). Otherwise, no one can help you.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-01 18:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-01 17:51 [Xenomai-core] C++ Support for VxWorks Skin of Xenomai? Wu, John
2006-03-01 18:22 ` Gilles Chanteperdrix
2006-03-01 18:28 ` Jan Kiszka
  -- strict thread matches above, loose matches on Subject: below --
2006-02-27 21:39 Wu, John
2006-02-28 11:57 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.