public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC 3.3 binary for XScale
@ 2008-02-27 23:39 Rodrigo Dominguez
  2008-02-28 11:06 ` Andrew Haley
  2008-02-28 12:27 ` Martin Guy
  0 siblings, 2 replies; 12+ messages in thread
From: Rodrigo Dominguez @ 2008-02-27 23:39 UTC (permalink / raw)
  To: gcc-help

Hi everyone,

I am looking for GCC 3.3 binaries to run natively on an XScale/ARM
processor. Does anybody know where I can get this? It is important for me
that the version is 3.3.

Thank you,

Rodrigo

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GCC 3.3 binary for XScale
  2008-02-27 23:39 GCC 3.3 binary for XScale Rodrigo Dominguez
@ 2008-02-28 11:06 ` Andrew Haley
  2008-02-28 15:56   ` Rodrigo Dominguez
  2008-02-28 12:27 ` Martin Guy
  1 sibling, 1 reply; 12+ messages in thread
From: Andrew Haley @ 2008-02-28 11:06 UTC (permalink / raw)
  To: Rodrigo Dominguez; +Cc: gcc-help

Rodrigo Dominguez wrote:

> I am looking for GCC 3.3 binaries to run natively on an XScale/ARM
> processor. Does anybody know where I can get this? It is important for me
> that the version is 3.3.

What does "run natively" mean?  On what OS?

Andrew.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GCC 3.3 binary for XScale
  2008-02-27 23:39 GCC 3.3 binary for XScale Rodrigo Dominguez
  2008-02-28 11:06 ` Andrew Haley
@ 2008-02-28 12:27 ` Martin Guy
  2008-02-28 16:17   ` Rodrigo Dominguez
  1 sibling, 1 reply; 12+ messages in thread
From: Martin Guy @ 2008-02-28 12:27 UTC (permalink / raw)
  To: Rodrigo Dominguez; +Cc: gcc-help

>  I am looking for GCC 3.3 binaries to run natively on an XScale/ARM
>  processor. Does anybody know where I can get this? It is important for me
>  that the version is 3.3.

Debian has gcc-3.3. Go to packages.debian.org search for binary
package gcc-3.3 and download the .deb file. A .deb is an "ar" archive
that contains three files, one of which is "data.tar.gz" which you can
just untar in /
You may need to install some or all of the package it depends on too,
which are listed on its packages.debian.org page. I'd guess that
cpp-3.3 is the minimum you might get away with.

   M

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: GCC 3.3 binary for XScale
  2008-02-28 11:06 ` Andrew Haley
@ 2008-02-28 15:56   ` Rodrigo Dominguez
  0 siblings, 0 replies; 12+ messages in thread
From: Rodrigo Dominguez @ 2008-02-28 15:56 UTC (permalink / raw)
  To: 'Andrew Haley'; +Cc: gcc-help

By "run natively" I meant I am not looking for a cross-compiler. I need a
binary that runs on XScale/ARM.

I am running Linux 2.6.

Thank you,

Rodrigo

> -----Original Message-----
> From: Andrew Haley [mailto:aph@redhat.com] 
> Sent: Thursday, February 28, 2008 5:28 AM
> To: Rodrigo Dominguez
> Cc: gcc-help@gcc.gnu.org
> Subject: Re: GCC 3.3 binary for XScale
> 
> Rodrigo Dominguez wrote:
> 
> > I am looking for GCC 3.3 binaries to run natively on an XScale/ARM
> > processor. Does anybody know where I can get this? It is 
> important for me
> > that the version is 3.3.
> 
> What does "run natively" mean?  On what OS?
> 
> Andrew.
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: GCC 3.3 binary for XScale
  2008-02-28 12:27 ` Martin Guy
@ 2008-02-28 16:17   ` Rodrigo Dominguez
  2008-02-28 17:02     ` Andrew Haley
  2008-02-29 13:15     ` Martin Guy
  0 siblings, 2 replies; 12+ messages in thread
From: Rodrigo Dominguez @ 2008-02-28 16:17 UTC (permalink / raw)
  To: 'Martin Guy'; +Cc: gcc-help

Martin,

Thanks for replying. I have a couple of questions:

1. Will this work if my host's linux distribution is not Debian? I am
running Fedora Core.
2. If the answer to 1 is yes, will I need dpkg in order to install the .deb
file?

Thank you,

Rodrigo

> -----Original Message-----
> From: martinwguy@gmail.com [mailto:martinwguy@gmail.com] On 
> Behalf Of Martin Guy
> Sent: Thursday, February 28, 2008 6:06 AM
> To: Rodrigo Dominguez
> Cc: gcc-help@gcc.gnu.org
> Subject: Re: GCC 3.3 binary for XScale
> 
> >  I am looking for GCC 3.3 binaries to run natively on an XScale/ARM
> >  processor. Does anybody know where I can get this? It is 
> important for me
> >  that the version is 3.3.
> 
> Debian has gcc-3.3. Go to packages.debian.org search for binary
> package gcc-3.3 and download the .deb file. A .deb is an "ar" archive
> that contains three files, one of which is "data.tar.gz" which you can
> just untar in /
> You may need to install some or all of the package it depends on too,
> which are listed on its packages.debian.org page. I'd guess that
> cpp-3.3 is the minimum you might get away with.
> 
>    M
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GCC 3.3 binary for XScale
  2008-02-28 16:17   ` Rodrigo Dominguez
@ 2008-02-28 17:02     ` Andrew Haley
  2008-02-29 13:34       ` Rodrigo Dominguez
  2008-02-29 13:15     ` Martin Guy
  1 sibling, 1 reply; 12+ messages in thread
From: Andrew Haley @ 2008-02-28 17:02 UTC (permalink / raw)
  To: Rodrigo Dominguez; +Cc: 'Martin Guy', gcc-help

Rodrigo Dominguez wrote:
> Martin,
> 
> Thanks for replying. I have a couple of questions:
> 
> 1. Will this work if my host's linux distribution is not Debian? I am
> running Fedora Core.

Type "yum install gcc"

Andrew.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GCC 3.3 binary for XScale
  2008-02-28 16:17   ` Rodrigo Dominguez
  2008-02-28 17:02     ` Andrew Haley
@ 2008-02-29 13:15     ` Martin Guy
  1 sibling, 0 replies; 12+ messages in thread
From: Martin Guy @ 2008-02-29 13:15 UTC (permalink / raw)
  To: Rodrigo Dominguez; +Cc: gcc-help

>  1. Will this work if my host's linux distribution is not Debian? I am
>  running Fedora Core.
Probably

>  2. If the answer to 1 is yes, will I need dpkg in order to install the .deb
>  file?
No. I told you how to unpack it. dpkg will not work on a non-debian system.

However, there is also a tool "alien" for converting .deb files to .rpms
It's not perfect, but it normally manages ok, and you would then be
able to remove the alien packages using your usual package manager,
instead of having to delete all their files and directories manually.

But first, look to see if you can find a package of gcc-3.3 for fedora core-arm.

    M

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: GCC 3.3 binary for XScale
  2008-02-28 17:02     ` Andrew Haley
@ 2008-02-29 13:34       ` Rodrigo Dominguez
  2008-02-29 14:32         ` Andrew Haley
  0 siblings, 1 reply; 12+ messages in thread
From: Rodrigo Dominguez @ 2008-02-29 13:34 UTC (permalink / raw)
  To: 'Andrew Haley'; +Cc: 'Martin Guy', gcc-help

Martin,

This would install gcc on my host, not on my target.

My host is a machine running Fedora Core 8. My target is an embedded board
with an XScale/ARM processor running Embedded Linux 2.6.

I am looking for the gcc 3.3 binaries that can run on my target.

Thanks,

Rodrigo


> -----Original Message-----
> From: Andrew Haley [mailto:aph@redhat.com] 
> Sent: Thursday, February 28, 2008 11:17 AM
> To: Rodrigo Dominguez
> Cc: 'Martin Guy'; gcc-help@gcc.gnu.org
> Subject: Re: GCC 3.3 binary for XScale
> 
> Rodrigo Dominguez wrote:
> > Martin,
> > 
> > Thanks for replying. I have a couple of questions:
> > 
> > 1. Will this work if my host's linux distribution is not 
> Debian? I am
> > running Fedora Core.
> 
> Type "yum install gcc"
> 
> Andrew.
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GCC 3.3 binary for XScale
  2008-02-29 13:34       ` Rodrigo Dominguez
@ 2008-02-29 14:32         ` Andrew Haley
  2008-02-29 15:49           ` Rodrigo Dominguez
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Haley @ 2008-02-29 14:32 UTC (permalink / raw)
  To: Rodrigo Dominguez; +Cc: 'Martin Guy', gcc-help

Rodrigo Dominguez wrote:
> Martin,
> 
> This would install gcc on my host, not on my target.

Not if you typed it on your target.

> My host is a machine running Fedora Core 8. My target is an embedded board
> with an XScale/ARM processor running Embedded Linux 2.6.

Why didn't you say so?  I thought you were running Fedora on your
target.

> I am looking for the gcc 3.3 binaries that can run on my target.

Where did you get Embedded Linux 2.6 for your target from?

Andrew.

>> -----Original Message-----
>> From: Andrew Haley [mailto:aph@redhat.com] 
>> Sent: Thursday, February 28, 2008 11:17 AM
>> To: Rodrigo Dominguez
>> Cc: 'Martin Guy'; gcc-help@gcc.gnu.org
>> Subject: Re: GCC 3.3 binary for XScale
>>
>> Rodrigo Dominguez wrote:
>>> Martin,
>>>
>>> Thanks for replying. I have a couple of questions:
>>>
>>> 1. Will this work if my host's linux distribution is not 
>> Debian? I am
>>> running Fedora Core.
>> Type "yum install gcc"
>>
>> Andrew.
>>
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: GCC 3.3 binary for XScale
  2008-02-29 14:32         ` Andrew Haley
@ 2008-02-29 15:49           ` Rodrigo Dominguez
  2008-02-29 16:06             ` Andrew Haley
  0 siblings, 1 reply; 12+ messages in thread
From: Rodrigo Dominguez @ 2008-02-29 15:49 UTC (permalink / raw)
  To: 'Andrew Haley'; +Cc: 'Martin Guy', gcc-help

> -----Original Message-----
> From: Andrew Haley [mailto:aph@redhat.com] 
> Sent: Friday, February 29, 2008 8:37 AM
> To: Rodrigo Dominguez
> Cc: 'Martin Guy'; gcc-help@gcc.gnu.org
> Subject: Re: GCC 3.3 binary for XScale
> 
> Rodrigo Dominguez wrote:
> > Martin,
> > 
> > This would install gcc on my host, not on my target.
> 
> Not if you typed it on your target.

There's no 'yum' command in Embedded Linux.

> 
> > My host is a machine running Fedora Core 8. My target is an 
> embedded board
> > with an XScale/ARM processor running Embedded Linux 2.6.
> 
> Why didn't you say so?  I thought you were running Fedora on your
> target.
> 
> > I am looking for the gcc 3.3 binaries that can run on my target.
> 
> Where did you get Embedded Linux 2.6 for your target from?

I am using DULG ELDK which comes with gcc 4.0. Why? Why does it matter?

> 
> Andrew.
> 
> >> -----Original Message-----
> >> From: Andrew Haley [mailto:aph@redhat.com] 
> >> Sent: Thursday, February 28, 2008 11:17 AM
> >> To: Rodrigo Dominguez
> >> Cc: 'Martin Guy'; gcc-help@gcc.gnu.org
> >> Subject: Re: GCC 3.3 binary for XScale
> >>
> >> Rodrigo Dominguez wrote:
> >>> Martin,
> >>>
> >>> Thanks for replying. I have a couple of questions:
> >>>
> >>> 1. Will this work if my host's linux distribution is not 
> >> Debian? I am
> >>> running Fedora Core.
> >> Type "yum install gcc"
> >>
> >> Andrew.
> >>
> > 
> 
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: GCC 3.3 binary for XScale
  2008-02-29 15:49           ` Rodrigo Dominguez
@ 2008-02-29 16:06             ` Andrew Haley
  2008-02-29 16:15               ` Rodrigo Dominguez
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Haley @ 2008-02-29 16:06 UTC (permalink / raw)
  To: Rodrigo Dominguez; +Cc: 'Martin Guy', gcc-help

Rodrigo Dominguez wrote:
>> -----Original Message-----
>> From: Andrew Haley [mailto:aph@redhat.com] 
>> Sent: Friday, February 29, 2008 8:37 AM
>> To: Rodrigo Dominguez
>> Cc: 'Martin Guy'; gcc-help@gcc.gnu.org
>> Subject: Re: GCC 3.3 binary for XScale
>>
>> Rodrigo Dominguez wrote:
>>> Martin,
>>>
>>> This would install gcc on my host, not on my target.
>> Not if you typed it on your target.
> 
> There's no 'yum' command in Embedded Linux.
> 
>>> My host is a machine running Fedora Core 8. My target is an 
>> embedded board
>>> with an XScale/ARM processor running Embedded Linux 2.6.
>> Why didn't you say so?  I thought you were running Fedora on your
>> target.
>>
>>> I am looking for the gcc 3.3 binaries that can run on my target.
>> Where did you get Embedded Linux 2.6 for your target from?
> 
> I am using DULG ELDK which comes with gcc 4.0.
> Why? Why does it matter?

Is the problem that you don't have gcc 3.3 on your target, or that you don't
have *any* gcc on your target?  This really important.  According to
http://www.denx.de/wiki/view/DULG/ELDKPackages#Section_3.8.2. there is a gcc package
for the target.

There are two ways to get gcc running on your target.  The easy way is
to get a binary from whoever supplied your target OS.  If they don't have
one, you're going to have to build it.  If you have gcc 4.0 on your target,
just use that to build gcc 3.3.

I don't know what the real problem is, because you haven't told us.

Andrew.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: GCC 3.3 binary for XScale
  2008-02-29 16:06             ` Andrew Haley
@ 2008-02-29 16:15               ` Rodrigo Dominguez
  0 siblings, 0 replies; 12+ messages in thread
From: Rodrigo Dominguez @ 2008-02-29 16:15 UTC (permalink / raw)
  To: 'Andrew Haley'; +Cc: 'Martin Guy', gcc-help


 

> -----Original Message-----
> From: Andrew Haley [mailto:aph@redhat.com] 
> Sent: Friday, February 29, 2008 10:49 AM
> To: Rodrigo Dominguez
> Cc: 'Martin Guy'; gcc-help@gcc.gnu.org
> Subject: Re: GCC 3.3 binary for XScale
> 
> Rodrigo Dominguez wrote:
> >> -----Original Message-----
> >> From: Andrew Haley [mailto:aph@redhat.com] 
> >> Sent: Friday, February 29, 2008 8:37 AM
> >> To: Rodrigo Dominguez
> >> Cc: 'Martin Guy'; gcc-help@gcc.gnu.org
> >> Subject: Re: GCC 3.3 binary for XScale
> >>
> >> Rodrigo Dominguez wrote:
> >>> Martin,
> >>>
> >>> This would install gcc on my host, not on my target.
> >> Not if you typed it on your target.
> > 
> > There's no 'yum' command in Embedded Linux.
> > 
> >>> My host is a machine running Fedora Core 8. My target is an 
> >> embedded board
> >>> with an XScale/ARM processor running Embedded Linux 2.6.
> >> Why didn't you say so?  I thought you were running Fedora on your
> >> target.
> >>
> >>> I am looking for the gcc 3.3 binaries that can run on my target.
> >> Where did you get Embedded Linux 2.6 for your target from?
> > 
> > I am using DULG ELDK which comes with gcc 4.0.
> > Why? Why does it matter?
> 
> Is the problem that you don't have gcc 3.3 on your target, or 
> that you don't
> have *any* gcc on your target?  This really important.  According to
> http://www.denx.de/wiki/view/DULG/ELDKPackages#Section_3.8.2. 
> there is a gcc package
> for the target.

As I mentioned on my first post, "It is important for me that the version is
3.3". I am currently running an application on the target that does binary
manipulation at run-time (sort of like JIT compilation). This application
allows me to write instrumentation code. However, the instrumentation code
and the application must be compiled using the same compiler version. This
is why I need gcc 3.3.

> 
> There are two ways to get gcc running on your target.  The easy way is
> to get a binary from whoever supplied your target OS.  If 
> they don't have
> one, you're going to have to build it.  If you have gcc 4.0 
> on your target,
> just use that to build gcc 3.3.

I think I will have to download gcc's source code and build it. I was trying
to avoid this since building gcc 3.3 takes time and I thought some one could
have done this already.

Thanks for your help :)

Rodrigo
 
> 
> I don't know what the real problem is, because you haven't told us.
> 
> Andrew.
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-02-29 16:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-27 23:39 GCC 3.3 binary for XScale Rodrigo Dominguez
2008-02-28 11:06 ` Andrew Haley
2008-02-28 15:56   ` Rodrigo Dominguez
2008-02-28 12:27 ` Martin Guy
2008-02-28 16:17   ` Rodrigo Dominguez
2008-02-28 17:02     ` Andrew Haley
2008-02-29 13:34       ` Rodrigo Dominguez
2008-02-29 14:32         ` Andrew Haley
2008-02-29 15:49           ` Rodrigo Dominguez
2008-02-29 16:06             ` Andrew Haley
2008-02-29 16:15               ` Rodrigo Dominguez
2008-02-29 13:15     ` Martin Guy

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 read-only IMAP folder(s) and NNTP newsgroup(s).