Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Remote Build
Remote Build [message #100175] Mon, 19 April 2004 08:34 Go to next message
Eclipse UserFriend
Originally posted by: wayneglanfield.hotmail.com

I am currently running eclipse v3.0 M8 and the CDT plugin on windows NT,
however, the primary target platforms are a cluster running Linux and
Intel IA32 chips and an IBM SP. I would prefer only to use a single dev.
environment rather than have a separate environment running on each target
platform.

I would like to know if it is possible to set up the build environment so
that the project is built using the specified compiler on the target
platform.

Is this possible?

Thanks
Re: Remote Build [message #100189 is a reply to message #100175] Mon, 19 April 2004 08:53 Go to previous message
Eclipse UserFriend
I provided this info already here on the list two or three times.
Anyway, you can try to put your workspace on your NT host. The remote
targets could mount this workspace into their home e.g. using samba.
Next install SSH on the remote machines, and set them up to login per
public/private keypair and ssh-agent forwarding.

In your build configuration, change the default command to do a remote
shell-command call, something like:

ssh <your remote target> "cd $HOME/workspace/<project> && make"

This should log into the remote machine and execute the commands. The
output should still appear in the build console view in Eclipse.

Debugging is a more tricky thing, since this only works, where GDB has
GDB-Server support for remote targets (which is not true for windows
machines). Though, as long as your remote machine is not Windows, you
can use the GDB-Server settings in the Run/Debug-configuration.

Hope, this helps you getting started.

wg wrote:

> I am currently running eclipse v3.0 M8 and the CDT plugin on windows NT,
> however, the primary target platforms are a cluster running Linux and
> Intel IA32 chips and an IBM SP. I would prefer only to use a single dev.
> environment rather than have a separate environment running on each target
> platform.
>
> I would like to know if it is possible to set up the build environment so
> that the project is built using the specified compiler on the target
> platform.
>
> Is this possible?
>
> Thanks
>
>
>
>
>
Previous Topic:parsing / indexing
Next Topic:Problem solved...
Goto Forum:
  


Current Time: Sun Jun 08 06:28:14 EDT 2025

Powered by FUDForum. Page generated in 0.02761 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top