Power PC Cross-compiler build
Bob Harmon
harmon@arcturus.craycom.com
Thu Feb 6 14:03:00 GMT 1997
This is also very interesting to me... It seems that ELF
is the only supported option for power PC, why is that?
Robert B. Harmon ! Bob_Harmon@osicom.com
Osicom Technologies !
9020 Junction Dr ! Any opinions expressed aren't mine...
Annapolis Jct. MD 20701 ! ...flame Don (lyons@world.std.com)
On Thu, 6 Feb 1997, Alec Creed wrote:
>
> Folks
>
> I'm trying to build a cross-compiler for a PowerPC VME card e.g. MVME1600.
> The host is a SPARC with sunos4.1.3 and the target runs under VxWorks5.2.
>
> So I started with binutils using:
>
> ../binutils-2.7/configure --host=sparc-sun-sunos4.1.3 --target=powerpc-wrs-vxworks
> -v
>
> Trouble is I then had the message:
>
> *** BFD does not support target powerpc-wrs-vxworks.
> *** Look in bfd/config.bfd for supported targets.
>
> So I added to the appropriate switch in binutils-2.7/bfd/config.bfd:
>
>
> |powerpc-*-vxworks
>
>
> When I tried the configure again it went a bit further but then I got:
> *** ld does not support target powerpc-wrs-vxworks
> *** see ld/configure.tgt for supported targets
>
> So I added to that configure.tgt file a line in the case statement:
> powerpc-*vxworks) targ_emul=elf32ppc ;;
>
> That got the configure to finish so I tried:
> make all
>
> Which stalled with:
>
> ../../binutils-2.7/gas/output-file.c: In function 'output_file_create':
> ../../binutils-2.7/gas/output-file.c: 'TARGET_FORMAT' undeclared
>
> Now I'm stuck and would greatly appreciate any hints to resolve this.
> Is this sunos hosted/PowerPC-VxWorks target a support configuration?
>
> Thanks
>
> Alec Creed
> creed@ferndown.ate.slb.com
>
>
>
>
More information about the crossgcc
mailing list