* Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine
@ 2004-07-13 4:47 Arun Prasad Velu
2004-07-13 19:40 ` James Perkins
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Arun Prasad Velu @ 2004-07-13 4:47 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
I'd like to know how feasible is it to cross compile for a VxWorks/PowerPC
Target from a Linux/x86 Machine?
If there was any attempt earlier, I'd like to know about it (basically to
get the source compiled for VxWorks/PowerPC from Linux/x86 machine).
Any pointer on how to go about it would also be appreciated.
Thanks and Regards
Arun
Arun Prasad Velu,
Team Lead (Systems Software),
Omnee System Solutions India Pvt. Ltd.,
Abundance Networks Division,
E-401, Crystal Plaza, New Link Road,
Andheri (West), Mumbai - 400 053
Tel - +91-22-5692 5159 / 2673 3299
E-mail : arun@ossi.co.in
http://www.abundancenetworks.com
http://www.osscorporation.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
** This list is shutting down 7/24/2004.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine
2004-07-13 4:47 Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine Arun Prasad Velu
@ 2004-07-13 19:40 ` James Perkins
2004-07-14 11:43 ` Marius Groeger
2004-07-19 3:53 ` Sangmoon Kim
2 siblings, 0 replies; 5+ messages in thread
From: James Perkins @ 2004-07-13 19:40 UTC (permalink / raw)
To: Arun Prasad Velu; +Cc: linuxppc-embedded
Arun Prasad Velu wrote:
>I'd like to know how feasible is it to cross compile for a VxWorks/PowerPC
>Target from a Linux/x86 Machine?
>If there was any attempt earlier, I'd like to know about it (basically to
>get the source compiled for VxWorks/PowerPC from Linux/x86 machine).
>Any pointer on how to go about it would also be appreciated.
>
You can get the gcc toolchain that WR is using, it is GPL and Wind River
will provide it free to people they've distributed the binaries to --
which should be everyone who's also bought a valid VxWorks library
license. If you want to use your off-the-shelf gcc it may be somewhat
tricky to configure your gcc just like it is in Tornado, but on an
existing Tornado installation (even on Windows) you can probably get gcc
to cough up most of the details of how it was configured if you want to
build your own cross-toolchain.
VxWorks AE has supported Linux cross-development hosts for quite some time.
VxWorks 6.0 (soon in beta) supports Linux development hosts (official
support for Red Hat Enterprise Linux 3 although it probably will work
with some tweaking on other distributions). Details at
http://www.windriver.com/announces/02232004b.html. It also is integrated
with Wind River Workbench, which uses Eclipse as an IDE framework for
the cross-toolchain, debugger, code browsing -- although it's still easy
to use the cross-toolchain from a command line build (that's what many
VxWorks architecture engineers do - we edit target/config/bsp/config.h
and fire off make). You also have your choice of two toolchains, gcc or
Wind Power Compiler.
I haven't tried mixing objects from another gcc toolchain, say DENX,
with objects from WR, but I don't see why (in principle) they wouldn't
work, although I'd expect caveats with specific assembler opcodes, link
operations, and especially C++ interoperation (the gcc and wpc
toolchains do not intermix C++ objects).
Cheers,
James
(disclaimer: WR employs me but I am not an official spokesperson)
--
James Perkins james@loowit.net http://loowit.net/~james
-=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=-
I have no fear of death.... It's how you live that really counts.
-- Katharine Hepburn, 1907-2003
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
** This list is shutting down 7/24/2004.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine
2004-07-13 4:47 Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine Arun Prasad Velu
2004-07-13 19:40 ` James Perkins
@ 2004-07-14 11:43 ` Marius Groeger
2004-07-19 3:53 ` Sangmoon Kim
2 siblings, 0 replies; 5+ messages in thread
From: Marius Groeger @ 2004-07-14 11:43 UTC (permalink / raw)
To: Arun Prasad Velu; +Cc: linuxppc-embedded
On Tue, 13 Jul 2004, Arun Prasad Velu wrote:
> Hello,
>
> I'd like to know how feasible is it to cross compile for a VxWorks/PowerPC
> Target from a Linux/x86 Machine?
> If there was any attempt earlier, I'd like to know about it (basically to
> get the source compiled for VxWorks/PowerPC from Linux/x86 machine).
> Any pointer on how to go about it would also be appreciated.
This is a bit dated, but may still hold some interesting bits for you:
http://www.xs4all.nl/~borkhuis/vxworks/vxw_pt1.html
Regards,
Marius
--
Marius Groeger <mgroeger@sysgo.com> Project Manager
SYSGO AG Embedded and Real-Time Software
Voice: +49 6136 9948 0 FAX: +49 6136 9948 10
www.sysgo.com | www.elinos.com | www.osek.de | www.imerva.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine
2004-07-13 4:47 Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine Arun Prasad Velu
2004-07-13 19:40 ` James Perkins
2004-07-14 11:43 ` Marius Groeger
@ 2004-07-19 3:53 ` Sangmoon Kim
2 siblings, 0 replies; 5+ messages in thread
From: Sangmoon Kim @ 2004-07-19 3:53 UTC (permalink / raw)
To: Arun Prasad Velu, linuxppc-embedded
Hi,
>
> I'd like to know how feasible is it to cross compile for a VxWorks/PowerPC
> Target from a Linux/x86 Machine?
I think http://vxtools.sourceforge.net/ is a good starting point.
The project is an attempt to make open source vxworks tools running on Linux
and have the link to the vxworks compiler sources.
Regards,
Sangmoon Kim
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine
@ 2004-07-13 13:35 VanBaren, Gerald (AGRE)
0 siblings, 0 replies; 5+ messages in thread
From: VanBaren, Gerald (AGRE) @ 2004-07-13 13:35 UTC (permalink / raw)
To: linuxppc-embedded
> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Arun
> Prasad Velu
> Sent: Tuesday, July 13, 2004 12:47 AM
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: Cross compiling for VxWorks/PowerPC Target from a Linux/x86
> Machine
>
>
>
> Hello,
>
> I'd like to know how feasible is it to cross compile for a
> VxWorks/PowerPC
> Target from a Linux/x86 Machine?
> If there was any attempt earlier, I'd like to know about it
> (basically to
> get the source compiled for VxWorks/PowerPC from Linux/x86 machine).
> Any pointer on how to go about it would also be appreciated.
>
> Thanks and Regards
> Arun
A co-worker get the cross compiler source from WindRiver and built it under linux. I wasn't involved and don't know any answers, but he said it was straight forward. Note that "straight forward" does _not_ mean effortless, depending on your level of expertise, this will take between a day and forever, probably averaging 3-5 days. This gets you everything you need to compile and link.
WindRiver's proprietary tools (their debugger and configuration system) aren't included, so you have to create your configuration (or at least an initial configuration) using their Windows/Solaris tools -- this produces prjConfig.h (IIRC) configuration file which you then copy to your linux platform and which you can edit by hand if you wish to reconfigure without Windows. You can use gdb to debug (takes some effort to understand how to make it work) or use other methods (e.g. print statements) -- I generally use print statements.
Building on linux is vastly superior to the gross bloated IDE, but I'm biased -- I hate IDEs.
gvb
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
** This list is shutting down 7/24/2004.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-19 3:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 4:47 Cross compiling for VxWorks/PowerPC Target from a Linux/x86 Machine Arun Prasad Velu
2004-07-13 19:40 ` James Perkins
2004-07-14 11:43 ` Marius Groeger
2004-07-19 3:53 ` Sangmoon Kim
-- strict thread matches above, loose matches on Subject: below --
2004-07-13 13:35 VanBaren, Gerald (AGRE)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).