Sounds absurd! Why would one edit files on one machine, and compile on another? But there is a niche for such kind of activity. The biggest reason being the presence of compiler on host/target machine.
Assuming, you have a setup where compilation takes place on a remote machine,
say Linux
, but you want to edit your source code in Windows
. Can
Eclipse Help? How much?
This big issue can be broken into three parts.
(Always) Sync source code from
Windows
andLinux
before buildTrigger build from
Windows
toLinux
These include
- make all
- make clean
Sync output paths (
Linux
toWindows
) so that Eclipse can take you to correct location for compiler warnings and errors.
Note
Instead of just speaking of theories, we will see actually happen on a live project here. For this particular use case, we are building A QT based from Windows 7 machine on Ubuntu Linux.
Note
This section is only available in paid editions of this book.
See Buy eBook (PDF/MOBI/ePUB) for more.
Note
This section is only available in paid editions of this book.
See Buy eBook (PDF/MOBI/ePUB) for more.
Note
This section is only available in paid editions of this book.
See Buy eBook (PDF/MOBI/ePUB) for more.
Note
This section is only available in paid editions of this book.
See Buy eBook (PDF/MOBI/ePUB) for more.
This setup worked for me, but I cannot simply say Works For Me.
Did you find any issues/problems with the current explanation Contact Me.
Warnings and errors of remote build.