[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
as, cc, ld ... native or cross compiler? crt0.o?
- Date: 16 Oct 2002 02:35:02 +0200
- From: corsepiu at faw.uni-ulm.de (Ralf Corsepius)
- Subject: as, cc, ld ... native or cross compiler? crt0.o?
Am Mit, 2002-10-16 um 00.19 schrieb Tito Costa:
>
> > Not good. Did you install binutils in the same location before
> > doing gcc/newlib? I can't see why the native cc1 would be used though.
> > Something is definitely wrong on the tool build.
> >
>
> I'm using the pre-built tools for Solaris/SPARC with SPARC as a target.
> I didn't compile the tools.
> I don't see why the native tools should be used either.
Once and for all times:
Building RTEMS uses native and target-cross tools, because parts of the
source tree are build natively while others are built cross (The source
tree applies 2-leaf Canadian Cross compilation, in certain situations,
even 3-leaf Canadiaion Cross compilation.)
> I linked
> manually cc1, as, ld to the native tools because crosscompiler tools are
> supposed to be "canonicalized" as Ralf suggested.
OK, let's stop this fruitless thread here and try to analyze what goes
wrong:
Send me the logs of
gcc -v hello.c >log1 2>&1
sparc-rtems-gcc -v hello.c >log2 2>&1
with this hello.c:
#include <stdio.h>
int main ()
{
fprintf( stdout, "hello" );
return 0;
}
Ralf
- References:
- Extra(?) tools
- From: Thomas.Doerfler at imd-systems.de (Thomas Doerfler)
- Extra(?) tools
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: corsepiu at faw.uni-ulm.de (Ralf Corsepius)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: tito at csl-mail.stanford.edu (Tito Costa)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: corsepiu at faw.uni-ulm.de (Ralf Corsepius)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: tito at csl-mail.stanford.edu (Tito Costa)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: tito at csl-mail.stanford.edu (Tito Costa)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- as, cc, ld ... native or cross compiler? crt0.o?
- From: tito at csl-mail.stanford.edu (Tito Costa)