building CDT for linux on AMD [message #168722] |
Tue, 25 April 2006 11:08  |
Eclipse User |
|
|
|
I would like to use CDT with Eclipse 3.1 on an AMD platform that runs
Linux. When I go to the build pages or the download page none of the
canned builds are for the AMD platform. The FAQ states that the CDT is
platform independent. How do I go about building the CDT on my target
platform?
|
|
|
|
|
|
|
Re: building CDT for linux on AMD [message #168905 is a reply to message #168817] |
Thu, 27 April 2006 13:39   |
Eclipse User |
|
|
|
Michael Smith wrote:
> Sorry I did not put enough information in my initial post. It is an AMD
> 64 bit system. Also, I downloaded one of the CDT versions for Linux and
> put it in my Eclipse running on the AMD 64 bit system. Whenever I tried
> to create a C++ project it gave me an error (I don't have the error
> message). I assumed the problem was that the CDT version I was trying to
> use was not compatible with the AMD 64 bit system.
Post the error message, and people will try to help. Most likely we're
dealing with a situation where you have to make sure the *entire* chain
of library dependencies is "all on the same page" figuratively speaking
(i.e., all 64-bit libraries, or all 32-bit ones... and that goes for the
JVM, swt, gtk, Eclipse, etc., etc.).
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
Re: building CDT for linux on AMD [message #168920 is a reply to message #168905] |
Fri, 28 April 2006 12:49   |
Eclipse User |
|
|
|
Randy D. Smith wrote:
> Michael Smith wrote:
>
>> Sorry I did not put enough information in my initial post. It is an
>> AMD 64 bit system. Also, I downloaded one of the CDT versions for
>> Linux and put it in my Eclipse running on the AMD 64 bit system.
>> Whenever I tried to create a C++ project it gave me an error (I don't
>> have the error message). I assumed the problem was that the CDT
>> version I was trying to use was not compatible with the AMD 64 bit
>> system.
>
>
> Post the error message, and people will try to help. Most likely we're
> dealing with a situation where you have to make sure the *entire* chain
> of library dependencies is "all on the same page" figuratively speaking
> (i.e., all 64-bit libraries, or all 32-bit ones... and that goes for the
> JVM, swt, gtk, Eclipse, etc., etc.).
>
Agreed. I had trouble with eclipse and cdt on my amd64 box. I use Ubuntu
Breezy and found that the canned ubuntu eclipse builds gave me trouble
- can't recall the specifics, but it was unworkable.
I found that ubuntu installs a free (non-Sun) jvm. The same was true of
gentoo, and it had eclipse problems as well.
Without getting into the politics of jvms, I found the following to work:
1. Sun jvm. Make sure its properly configured (and that some other jvm
isn't being surreptitiously used - the eclipse log will tell you what
jvm is in use)
2. Stock eclipse downloads. There is a x86_64 version. Same for CDT.
Installed those and all is well. The "packaged" versions for ubuntu as
well as the
" semi-packaged-but-please-wait-12-hours-while-we-compile-the- whole-darned-thing "
version for gentoo didn't do the trick. Others may have different
results, but I work for a living and don't have the time to mess around
with it. Eclipse is a tool (a great one), not an end in itself, and I
want it to work. Quickly.
|
|
|
|
Re: building CDT for linux on AMD [message #169010 is a reply to message #168950] |
Mon, 01 May 2006 12:50  |
Eclipse User |
|
|
|
Michael Smith wrote:
> Thanks to all. I will try the x86_64 version of CDT and Eclipse. If that
> doesn't work I will return with the error messages.
May I ask that you also post if it *does* work for you? We hear all the
problems, but seldom the successes... it helps to know that it *works*
for people too! It helps for people searching the newsgroups to find
that people did achieve success, perhaps even giving them a contact
point for a "how did you do it?" e-mail if they can't duplicate that
success.
Yes, it sets you up for being bugged down the line, but that (IMHO) is
part of the "cost" of free software... the necessity to help as well as
be helped.
I'll get off my soap box now! :-)
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
Powered by
FUDForum. Page generated in 0.03822 seconds