public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Cross compiler (again)
@ 1998-07-07 23:46 Sven LUTHER
  0 siblings, 0 replies; 4+ messages in thread
From: Sven LUTHER @ 1998-07-07 23:46 UTC (permalink / raw)
  To: Franz.Sirl-kernel; +Cc: egcs

You wrote :
| Am Mon, 06 Jul 1998 schrieb luther@dpt-info.u-strasbg.fr:
| >Hello, ...
| >
| >i managed to compile a m68k-linux -> ppc-linux-glibc1 cross compiler
| thanks to 
| >the help i received from this list.
| >
| >Yesterday i got hold of some ppc-linux-glibc2 includes and libraries,
| and was in the process of building a cross compiler for them.
| >
| >I got the message (while compiling libgcc2.c:1719)
| >
| >* conflicting types for atexit
| >declared in stdlib.h:502 and in gcc/gbl-ctors.h:43
| 
| Have you specified --target=powerpc-unknow-linux-gnu (no glibc1!)?
| That's the correct one for glibc-2.1.
|
| Franz.

The exact configure options were :

./configure --target=ppc-linux --with-headers=/usr/local/include-ppc
--with-libs=/usr/local/libs-ppc

i use linux-ppc because so i have shorter executable names. ppc-linux
get changed to powerpc-unknown-linux-gnu by config.sub so it should
cause no problem.

is there another way to declare aliases for target names ?

a yes i use glibc2.0.94 as it is the correct one for ppc and not
glibc2.0.[567]. i got it from the debian/slink ppc packages.

Friendly,

Sven LUTHER

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

* Re: Cross compiler (again)
  1998-07-07 10:14 luther
@ 1998-07-17 18:50 ` Rask Ingemann Lambertsen
  0 siblings, 0 replies; 4+ messages in thread
From: Rask Ingemann Lambertsen @ 1998-07-17 18:50 UTC (permalink / raw)
  To: EGCS mailing list

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

Den 06-Jul-98 18:31:00 skrev luther følgende om "Cross compiler (again)":

> * conflicting types for atexit
> declared in stdlib.h:502 and in gcc/gbl-ctors.h:43

Sounds like a bug in gcc/gbl-ctors.h.

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  |
|        Press <Esc> to exit. Press <Esc> twice to save and exit.        |


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

* Re: Cross compiler (again)
@ 1998-07-07 16:57 Franz Sirl
  0 siblings, 0 replies; 4+ messages in thread
From: Franz Sirl @ 1998-07-07 16:57 UTC (permalink / raw)
  To: luther; +Cc: egcs

Am Mon, 06 Jul 1998 schrieb luther@dpt-info.u-strasbg.fr:
>Hello, ...
>
>i managed to compile a m68k-linux -> ppc-linux-glibc1 cross compiler thanks to 
>the help i received from this list.
>
>Yesterday i got hold of some ppc-linux-glibc2 includes and libraries, and was in the process of building a cross compiler for them.
>
>I got the message (while compiling libgcc2.c:1719)
>
>* conflicting types for atexit
>declared in stdlib.h:502 and in gcc/gbl-ctors.h:43

Have you specified --target=powerpc-unknow-linux-gnu (no glibc1!)? That's the
correct one for glibc-2.1.

Franz.

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

* Cross compiler (again)
@ 1998-07-07 10:14 luther
  1998-07-17 18:50 ` Rask Ingemann Lambertsen
  0 siblings, 1 reply; 4+ messages in thread
From: luther @ 1998-07-07 10:14 UTC (permalink / raw)
  To: egcs

Hello, ...

i managed to compile a m68k-linux -> ppc-linux-glibc1 cross compiler thanks to 
the help i received from this list.

Yesterday i got hold of some ppc-linux-glibc2 includes and libraries, and was in the process of building a cross compiler for them.

I got the message (while compiling libgcc2.c:1719)

* conflicting types for atexit
declared in stdlib.h:502 and in gcc/gbl-ctors.h:43

Friendly,

Sven LUTHER

(a yes, egcs 1.03 and glibc 2.0.94/linux 2.1.105)

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

end of thread, other threads:[~1998-07-17 18:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-07 23:46 Cross compiler (again) Sven LUTHER
  -- strict thread matches above, loose matches on Subject: below --
1998-07-07 16:57 Franz Sirl
1998-07-07 10:14 luther
1998-07-17 18:50 ` 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).