public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Re:  (?)
@ 2000-05-09 19:31 Mike Stump
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Stump @ 2000-05-09 19:31 UTC (permalink / raw)
  To: egcs-bugs, ja_uribe

> From: "juan uribe" <ja_uribe@hotmail.com>
> To: egcs-bugs@egcs.cygnus.com
> Date: Tue, 09 May 2000 19:02:06 PDT

> I plan to build the current gcc version but have one question.

> What is the difference between native and cross compiler?

A native compiler is a compiler that generates code for the same
machine that one is running the compiler on.  A Linux box that you
also want to run compile code on, would be an example of a native
compiler.

A cross compiler, is when the system you want to run the software on
isn't the one that you compile the software on.  For example, you want
to compile on Linux, but run on Windows, that would be a cross
compiler.

> What I really want is to be able to compile Fortran, c and c++, should I 
> just build a native compiler?

Yes.
>From llewelly@dbritsch.dsl.xmission.com Tue May 09 19:32:00 2000
From: <llewelly@dbritsch.dsl.xmission.com>
To: juan uribe <ja_uribe@hotmail.com>
Cc: egcs-bugs@egcs.cygnus.com
Subject: Re:  (?)
Date: Tue, 09 May 2000 19:32:00 -0000
Message-id: <Pine.LNX.4.21.0005092011360.6355-100000@dbritsch.dsl.xmission.com>
References: <20000510020206.24134.qmail@hotmail.com>
X-SW-Source: 2000-05/msg00336.html
Content-length: 1591

On Tue, 9 May 2000, juan uribe wrote:

> hello again. I am not sure if I am mailing to the right list so pardon me 
> far it.

You are not. Please send questions about gcc to gcc-help@gcc.gnu.org .

> 
> I plan to build the current gcc version but have one question.
> 
> What is the difference between native and cross compiler?

A native compiler produces binaries for the same platform it runs on. The
  compiler included in a typical linux distribution is an example.

A cross compiler runs on one platform, but produces binaries for a
  different platform. An example might be a compiler that runs on an x86
  linux box (i686-pc-linux-gnu, for example) which produces binaries
  for a sun sparc machine (sparc-sun-solaris2.7, for example.)

> 
> What I really want is to be able to compile Fortran, c and c++, 

You can compile Fortran, C, or C++ with either a native compiler, or a
  cross compiler. (I think there are some host + target combinations that 
  make the C++ frontend finicky, but I do not remember them.)

If you need a cross compiler, please see
  http://www.objsw.com/CrossGCC/

  in addition to

  http://gcc.gnu.org/install/index.html

  which you should read whichever kind of compiler you want.


> should I 
> just build a native compiler?

If you plan to run the binaries on the same type of machine you do your
  compiling on, you want a native compiler. Otherwise, you want a cross
  compiler.

For example, if you will be compiling on i686-pc-linux-gnu, and you
  plan to run the resulting binaries on ix86-pc-linux-gnu, you want a
  native compiler.

[snip]


^ permalink raw reply	[flat|nested] 4+ messages in thread
* ?
@ 2023-10-31 14:04 Teri Ford
  0 siblings, 0 replies; 4+ messages in thread
From: Teri Ford @ 2023-10-31 14:04 UTC (permalink / raw)
  To: gcc-bugs

Hello, I'm giving away my late husband's Yamaha Grand Piano for free to anyone interested. Let me know if you want it or you know else that wants it.

Thanks,
Teri

^ permalink raw reply	[flat|nested] 4+ messages in thread
* !
@ 1999-09-10 11:56 Serge Ivanchenko
  1999-09-11  0:43 ` ! Jeffrey A Law
  0 siblings, 1 reply; 4+ messages in thread
From: Serge Ivanchenko @ 1999-09-10 11:56 UTC (permalink / raw)
  To: bug-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 8743 bytes --]

I get error message when compile gcc on my 
FreeBSD 3.2 with Pentium-II processor.
 
$ ../gcc-2.95.1/configure --prefix=/usr 
--enable-shared --enable-static \\  --enable-cpp --enable-languages=c++ 
i686-pc-freebsd
 
$ make CFLAGS='-O' LIBCFLAGS='-O2' 
LIBCXXFLAGS='-O2 -fno-implicit-templates' 
bootstrap                                                                

 
...
 
for name in _muldi3 _divdi3 _moddi3 _udivdi3 
_umoddi3 _negdi2  _lshrdi3 _ashldi3  _ashrdi3 _ffsdi2  
_udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdi sf  
_fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi  _fixxfdi 
_fixunsxfdi _floatdixf _fixunsxfsi  _fixtfdi _fixunstfdi 
_floatditf  __gcc_bcmp _varargs __dummy _eprintf  _bb _shtab 
_clear_cache _trampoline __main _exit  _ct ors _pure;  do  
echo ${name};  ./xgcc -B/usr/i686-pc-freebsd/bin/ -B./ 
-I/usr/i6 86-pc-freebsd/include -O2   -DIN_GCC    -g 
-I./include   -g1  -DIN_LIBGCC2 -D__G CC_FLOAT_NOT_NEEDED -I. 
-I../../gcc-2.95.1/gcc -I../../gcc-2.95.1/gcc/config 
-I. ./../gcc-2.95.1/gcc/../include -c -DL${name}   
../../gcc-2.95.1/gcc/libgcc2.c -o  ${name}.o;  if [ $? -eq 0 ] ; 
then true; else exit 1; fi;  `  if [ -f 
/usr/home /casper/install/gcc-build/gcc/../binutils/ar ] ; then  echo 
/usr/home/casper/ins tall/gcc-build/gcc/../binutils/ar ;  else  if 
[ "i686-pc-freebsd" = "i686-pc-fre ebsd" ] ; then  
echo ar;  else  t='s,x,x,'; echo ar | sed -e $t ;  fi;  fi` 
rc t mplibgcc2.a ${name}.o;  rm -f ${name}.o;  
done                                  
_muldi3                                                                         
_divdi3                                                                         
_moddi3                                                                         
_udivdi3                                                                        
_umoddi3                                                                        
_negdi2                                                                         
_lshrdi3                                                                        
_ashldi3                                                                        
_ashrdi3                                                                        
_ffsdi2                                                                         
_udiv_w_sdiv                                                                    
_udivmoddi4                                                                     
_cmpdi2                                                                         
_ucmpdi2                                                                        
_floatdidf                                                                      
/var/tmp/ccAslOMq.s: Assembler 
messages:                                        
/var/tmp/ccAslOMq.s:138: Error: Alignment not a power of 
2                      
*** Error code 
1                                                                
                                                                                
Stop.                                                                           
*** Error code 
1                                                                
                                                                                
Stop.                                                                           
*** Error code 
1                                                                



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

end of thread, other threads:[~2023-10-31 14:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-09 19:31 (?) Mike Stump
  -- strict thread matches above, loose matches on Subject: below --
2023-10-31 14:04 ? Teri Ford
1999-09-10 11:56 ! Serge Ivanchenko
1999-09-11  0:43 ` ! Jeffrey A Law

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).