nanogui: Thread: ask for c++ compiler of m68k


[<<] [<] Page 1 of 1 [>] [>>]
Subject: ask for c++ compiler of m68k
From: "daniel" ####@####.####
Date: 20 Jul 2001 03:28:36 -0000
Message-Id: <002c01c110cb$e8de1ac0$0300c0a8@biji>

I wanna my microwin application run on Dragon Ball CPU,
and i got m68k Complier.
but my application base on c++, I only have m68k-pic-coff-gcc  to
instead of gcc, what can i do ? what is g++ complier in m68k?


Regards

Daniel Wang

Subject: Re: [nanogui] ask for c++ compiler of m68k
From: "Greg Haerr" ####@####.####
Date: 20 Jul 2001 03:34:38 -0000
Message-Id: <008701c110cc$99977fa0$3aba46a6@xmission.com>

: I wanna my microwin application run on Dragon Ball CPU,
: and i got m68k Complier.
: but my application base on c++, I only have m68k-pic-coff-gcc  to
: instead of gcc, what can i do ? what is g++ complier in m68k?

You might want to direct this question to the uCLinux.org
mailing list, they've got Linux running on m68k and other
CPUs.

Regards,

Greg

Subject: RE: [nanogui] ask for c++ compiler of m68k
From: "L.Lehuerou" ####@####.####
Date: 20 Jul 2001 07:01:16 -0000
Message-Id: <4BF7E5384A8ED411A4A100E02900BC56265DA0@NETMAIL>

> 
> I wanna my microwin application run on Dragon Ball CPU,
> and i got m68k Complier.
> but my application base on c++, I only have m68k-pic-coff-gcc  to
> instead of gcc, what can i do ? what is g++ complier in m68k?

I use the same sort of compiler (in cygwin environment) where 
m68k-coff-gcc (the gcc driver) calls internally the m68k-coff-g++.
In my distribution (www.microcross.com), they are both located 
in /usr/bin.

I think your cross distribution should only miss somme link and path
to the actual compiler. Check the location of your actual 
m68k-pic-coff-g++ cross compiler which should be the same place as 
m68k-pic-coff-gcc.

If not, a low-cost cross distribution can be found at microcross
for linux or windows hosts and many targets.
That is the environment (windows hosted) that I used for flmwin 
and microwindows to run on my 68060 target.

Regards,

Luc

Subject: Re: [nanogui] ask for c++ compiler of m68k
From: "daniel" ####@####.####
Date: 20 Jul 2001 09:32:48 -0000
Message-Id: <000b01c110fe$c3c74a80$0300c0a8@biji>

thank u for u help.

but i got this complier from others, only find m68k-pic-coff-gcc
in /usr/loca/gnu/bin, there is no g++ compiler.

cuz of i am a newbie about gcc, could tell me some conception?
can gcc compile c++ program ? in X86 platfrom i use g++ not
gcc to do this.
as u said, i only should correct the links or add some path,
can u tell hwo to do in detail?


And another thing make me confuse is what's the difference
between m68k-pic-coff-gcc  and m68k-coff-gcc.

Regards

Daniel Wang

----- Original Message ----- 
From: "L.Lehuerou" ####@####.####
To: "daniel" ####@####.#### ####@####.####
Sent: Friday, July 20, 2001 3:01 PM
Subject: RE: [nanogui] ask for c++ compiler of m68k


> > 
> > I wanna my microwin application run on Dragon Ball CPU,
> > and i got m68k Complier.
> > but my application base on c++, I only have m68k-pic-coff-gcc  to
> > instead of gcc, what can i do ? what is g++ complier in m68k?
> 
> I use the same sort of compiler (in cygwin environment) where 
> m68k-coff-gcc (the gcc driver) calls internally the m68k-coff-g++.
> In my distribution (www.microcross.com), they are both located 
> in /usr/bin.
> 
> I think your cross distribution should only miss somme link and path
> to the actual compiler. Check the location of your actual 
> m68k-pic-coff-g++ cross compiler which should be the same place as 
> m68k-pic-coff-gcc.
> 
> If not, a low-cost cross distribution can be found at microcross
> for linux or windows hosts and many targets.
> That is the environment (windows hosted) that I used for flmwin 
> and microwindows to run on my 68060 target.
> 
> Regards,
> 
> Luc
> 
> 
Subject: RE: [nanogui] ask for c++ compiler of m68k
From: "L.Lehuerou" ####@####.####
Date: 20 Jul 2001 10:46:30 -0000
Message-Id: <4BF7E5384A8ED411A4A100E02900BC56265DA1@NETMAIL>

daniel ####@####.#### wrote :

> but i got this complier from others, only find m68k-pic-coff-gcc
> in /usr/loca/gnu/bin, there is no g++ compiler.
> 
> cuz of i am a newbie about gcc, could tell me some conception?
> can gcc compile c++ program ? in X86 platfrom i use g++ not
> gcc to do this.
> as u said, i only should correct the links or add some path,
> can u tell hwo to do in detail?
> 
I suppose you are working on a UNIX-like host.
IMPORTANT : as I am not used to LINUX/UNIX environment, someone 
else should give a more accurate answer or correct the following.

(1) Either you have a path to /usr/loca/gnu/bin and m68k-pic-coff-gcc 
is a symbolic link to another location (e.g to
/usr/local/m68k-pic-coff/bin). 
Perhaps /usr/loca/gnu/bin/m68k-pic-coff-gcc link fails 
reaching m68k-pic-coff-g++ as it's actual location is
/usr/local/m68k-pic-coff/bin/. 
You could add the links to g++ and 
all other gcc stuff (as, ar, c++, etc) in /usr/loca/gnu/bin
pointing to /usr/local/m68k-pic-coff/bin ones (you'd better do 
that in a shell script and invoque this each time you want gcc
to point to the cross m68k-pic-coff cross version).

(2) or m68k-pic-coff-g++ is simply missing ! Try getting it from
the same place you found m68k-pic-coff-gcc ...
...or look at www.microcross.com. They have binaries covering a 
great range of targets (for near the cost of shipment and media).

Note that I did not find a documentation on paths for gcc *standard*
location (i.e. documented), that match *usual* 
paths of the binary distribution of those cross-compilers.

BTW if anyone knows about good and practical docs on this 
subject, I'am interested (i.e. what is the general philosophy
and the practical usage of --prefix in configure option).

> 
> And another thing make me confuse is what's the difference
> between m68k-pic-coff-gcc  and m68k-coff-gcc.

The name of the actual gcc compiler is created by the *target*
option of "configure" when generating the compiler.
My m68k-coff-gcc comes from --target=m68k-coff in this case.
Look at gcc documentation at gnu.org or cygnus, about cross versions.
When you invoke "gcc" whithout options, it often means you use the 
native (host X host) compiler.
Dragon Ball (your's) and 68060 (mine) targets are not the same and 
some specific stuff has probably to be done in each version of the compiler.

Regards,

Luc.
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.