Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » building CDT for linux on AMD
building CDT for linux on AMD [message #168722] Tue, 25 April 2006 11:08 Go to next message
Eclipse UserFriend
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 #168730 is a reply to message #168722] Tue, 25 April 2006 11:22 Go to previous messageGo to next message
Eclipse UserFriend
Michael Smith wrote:
> 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?

What's stopping you from using CDT on your platform now? If "CDT is
platform independent", then what's left for you to do? The way CDT
maintains such platform independence (as I understand it) is to provide
a UI to an underlying, assumed-to-be-there, tool chain. And Linux
certainly already provides such a tool chain.

Have you tried CDT yet on your system??
--
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 #168738 is a reply to message #168730] Tue, 25 April 2006 16:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bhua.hua.com

Hi Michael,
Unless you are using a AMD64 bit system, and AMD system is the same as
x86 systems. That's why there are no specific downloads for "AMD
systems". If Eclipse runs in your box, so should CDT. I would use the
built-in software management tool to "Find and Install" CDT. The
instructions are there on the CDT website.

Cheers,
-J-

Randy D. Smith wrote:
> Michael Smith wrote:
>> 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 #168760 is a reply to message #168738] Wed, 26 April 2006 01:56 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michael,

I would not call the CDT "platform independent" as lightheartedly as the FAQ
does. I would say it is 95% platform independent, but there are a few
platform dependent fragments which add OS-specific launcher support.

On the other hand I agree with J S that you should be fine with the x86
build on 32 bit AMD machines, so this may not be a real problem for you.


Cheers,


Norbert Ploett
Re: building CDT for linux on AMD [message #168817 is a reply to message #168760] Thu, 27 April 2006 09:48 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: building CDT for linux on AMD [message #168905 is a reply to message #168817] Thu, 27 April 2006 13:39 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #168950 is a reply to message #168920] Sun, 30 April 2006 11:43 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: building CDT for linux on AMD [message #169010 is a reply to message #168950] Mon, 01 May 2006 12:50 Go to previous message
Eclipse UserFriend
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)
Previous Topic:Getting started compiling an aerospace application with CDT on Linux
Next Topic:Indexer+External Include Path+Inherited methods no available
Goto Forum:
  


Current Time: Mon May 12 19:12:42 EDT 2025

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

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

Back to the top