public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* cross compiling m68k -> ppc
@ 1998-06-21  1:26 luther
  1998-06-21 18:41 ` Jeffrey A Law
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: luther @ 1998-06-21  1:26 UTC (permalink / raw)
  To: egcs

Hello, ...

as reported yesterday, i was finally able to compile the cross compiler.

after that i triied to compile a simple hello world program. and get
a ld error. ld complains about not finding crt1.o. I made a find / -name crt1.o and didn't find any file with that  name.

Friendly,

Sven LUTHER

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

* Re: cross compiling m68k -> ppc
  1998-06-21  1:26 cross compiling m68k -> ppc luther
@ 1998-06-21 18:41 ` Jeffrey A Law
  1998-06-29 19:43 ` Rask Ingemann Lambertsen
  1998-07-01 20:15 ` Rask Ingemann Lambertsen
  2 siblings, 0 replies; 8+ messages in thread
From: Jeffrey A Law @ 1998-06-21 18:41 UTC (permalink / raw)
  To: luther; +Cc: egcs

  In message < m0ynfR2-00024oC@iliana >you write:
  > Hello, ...
  > 
  > as reported yesterday, i was finally able to compile the cross compiler.
  > 
  > after that i triied to compile a simple hello world program. and get
  > a ld error. ld complains about not finding crt1.o. I made a find / -name cr
  > t1.o and didn't find any file with that  name.
Right.  Now you have to find c-startup and library files for your target.
Presumably you can snarf them from an existing system.  Else you'll
have to hack up a set on your own.

jeff

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

* Re: cross compiling m68k -> ppc
  1998-06-21  1:26 cross compiling m68k -> ppc luther
  1998-06-21 18:41 ` Jeffrey A Law
@ 1998-06-29 19:43 ` Rask Ingemann Lambertsen
  1998-07-01 20:15 ` Rask Ingemann Lambertsen
  2 siblings, 0 replies; 8+ messages in thread
From: Rask Ingemann Lambertsen @ 1998-06-29 19:43 UTC (permalink / raw)
  To: EGCS mailing list

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

Den 21-Jun-98 10:25:12 skrev luther følgende om "cross compiling m68k -> ppc":
> Hello, ...

> as reported yesterday, i was finally able to compile the cross compiler.

> after that i triied to compile a simple hello world program. and get
> a ld error. ld complains about not finding crt1.o. I made a find / -name
> crt1.o and didn't find any file with that  name.

You need to compile (g)libc for the ppc target too, of course.

Regards,

/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯T¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.k-net.dk  |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4000, 775 kkeys/s (RC5-64)    | "ThrustMe" on XPilot, ARCnet and IRC  |
| Reality is that which, when you stop believing in it, it still exists. |


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

* Re: cross compiling m68k -> ppc
  1998-06-21  1:26 cross compiling m68k -> ppc luther
  1998-06-21 18:41 ` Jeffrey A Law
  1998-06-29 19:43 ` Rask Ingemann Lambertsen
@ 1998-07-01 20:15 ` Rask Ingemann Lambertsen
  2 siblings, 0 replies; 8+ messages in thread
From: Rask Ingemann Lambertsen @ 1998-07-01 20:15 UTC (permalink / raw)
  To: EGCS mailing list

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

Den 21-Jun-98 10:25:12 skrev luther følgende om "cross compiling m68k -> ppc":
> Hello, ...

> as reported yesterday, i was finally able to compile the cross compiler.

Could you be persuaded to try cross building a native linux-ppc compiler
with the linux-m68k --> linux-ppc one?

Regards,

/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯T¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.k-net.dk  |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4000, 775 kkeys/s (RC5-64)    | "ThrustMe" on XPilot, ARCnet and IRC  |
|               Es funktioniert nicht, sieht aber gut aus.               |


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

* Re: cross compiling m68k -> ppc
  1998-06-22  3:00 Sven
  1998-06-22  6:13 ` Andreas Schwab
  1998-06-22  9:06 ` Jeffrey A Law
@ 1998-07-01 20:15 ` Rask Ingemann Lambertsen
  2 siblings, 0 replies; 8+ messages in thread
From: Rask Ingemann Lambertsen @ 1998-07-01 20:15 UTC (permalink / raw)
  To: Swen; +Cc: egcs

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

Den 22-Jun-98 11:59:48 skrev Sven følgende om "Re: cross compiling m68k -> ppc":

> i suppose if i cross compuile some library (glibc or newlib for example) i
> will get the libraries files, but wath is c-startup and where do i get it.

That typically a ctr0.o file that initialises anything needed to use the C
library.

Regards,

/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯T¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.k-net.dk  |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4000, 775 kkeys/s (RC5-64)    | "ThrustMe" on XPilot, ARCnet and IRC  |
| Never underestimate the bandwidth of a CD-ROM flying through the lab.  |


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

* Re: cross compiling m68k -> ppc
  1998-06-22  3:00 Sven
  1998-06-22  6:13 ` Andreas Schwab
@ 1998-06-22  9:06 ` Jeffrey A Law
  1998-07-01 20:15 ` Rask Ingemann Lambertsen
  2 siblings, 0 replies; 8+ messages in thread
From: Jeffrey A Law @ 1998-06-22  9:06 UTC (permalink / raw)
  To: Sven; +Cc: egcs

  In message < 199806220959.LAA15801@dpt-info.u-strasbg.fr >you write:
  > i suppose if i cross compuile some library (glibc or newlib for example) i 
  > will get the libraries files, but wath is c-startup and where do i get it.
C-startup files are usually included in a C library sources of some
kind.  They do things like set up the stack pointer and other global
registers, start the dynamic loader, and call main.


  > Also, if i want to cross compile a linux kernel do i still need
  > this libraries ?
I don't know.  

jeff

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

* Re: cross compiling m68k -> ppc
  1998-06-22  3:00 Sven
@ 1998-06-22  6:13 ` Andreas Schwab
  1998-06-22  9:06 ` Jeffrey A Law
  1998-07-01 20:15 ` Rask Ingemann Lambertsen
  2 siblings, 0 replies; 8+ messages in thread
From: Andreas Schwab @ 1998-06-22  6:13 UTC (permalink / raw)
  To: Sven; +Cc: egcs

Sven <luther@dpt-info.u-strasbg.fr> writes:

|> Also, if i want to cross compile a linux kernel do i still need this libraries ?

No.  The kernel is completely standalone and self-contained.  All you need
are the headers that come with the compiler.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

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

* Re: cross compiling m68k -> ppc
@ 1998-06-22  3:00 Sven
  1998-06-22  6:13 ` Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sven @ 1998-06-22  3:00 UTC (permalink / raw)
  To: egcs, law

Hello,

> Right.  Now you have to find c-startup and library files for your target.
> Presumably you can snarf them from an existing system.  Else you'll
> have to hack up a set on your own.

i suppose if i cross compuile some library (glibc or newlib for example) i will get the libraries files, but wath is c-startup and where do i get it.

Also, if i want to cross compile a linux kernel do i still need this libraries ?

Friendly,

Sven LUTHER

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

end of thread, other threads:[~1998-07-01 20:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-21  1:26 cross compiling m68k -> ppc luther
1998-06-21 18:41 ` Jeffrey A Law
1998-06-29 19:43 ` Rask Ingemann Lambertsen
1998-07-01 20:15 ` Rask Ingemann Lambertsen
1998-06-22  3:00 Sven
1998-06-22  6:13 ` Andreas Schwab
1998-06-22  9:06 ` Jeffrey A Law
1998-07-01 20:15 ` Rask Ingemann Lambertsen

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