This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GAS installation for PowerPC


Hi David,

I tried with --target=powerpc-eabi. But the program terminates stating
that ld failed. The messages says ld doesn't have support for target.
Same is the case with sh-elf. Can you help us on this.

Thanks & regards,

Debabrata



David Korn wrote:
> 
> >-----Original Message-----
> >From: Debabrata Sengupta [mailto:debabrata@macmetit.com]
> >Sent: 15 January 2001 12:55
> 
>   Hi again Debabrata,  Sorry I didn't reply sooner but your message got
> lost in my in-tray.
> 
> >Thanks for your suggestion and also for spending your valuable time to
> >answer our query. I tried to configure it for other procesor such
> >PowerPC, SH4. I tried to configure using the following command:
> >
> >./configure --host=sparc-sun-solaris2.5.1        --target=powerpc
> >make all
> >make install
> >
> >./configure --host=sparc-sun-solaris2.5.1        --target=SH4
> >make all
> >make install
> >
> >But the s/w is installed for target processor being set as host. Can you
> >please suggest how to configure so that "gas" can be configured for
> >PowerPC, SH4 etc.
> 
>   Aha! The problem here is that you haven't given valid choices to the
> --target option.  For --target, you need to give a string that follows the
> pattern cpu-manufacturer-os or just cpu-architecture.  Examples include
> 
>   sparc-sun-solaris    -- cpu is sparc, m'fr is sun, O/S solaris
>   powerpc-wrs-vxworks  -- PPc cpu, using VxWorks O/S from WRS.
>   m68k-coff            -- 68k cpu, no os, COFF object file format
>   powerpc-eabi         -- PPc cpu, EABI architecture but no particular os.
>   sh-elf               -- sh series cpu, ELF object file format.
> 
>   You haven't told us yet what kind of target hardware you want the
> compiler to work with, but powerpc-eabi and sh-elf would be good choices
> to try.  Are you working with embedded hardware?  Do you have an O/S on
> your target board?
> 
>         DaveK
> --
> The Boulder Pledge: "Under no circumstances will I ever purchase anything
> offered to me as the result of an unsolicited email message. Nor will I
> forward chain letters, petitions, mass mailings, or virus warnings to large
> numbers of others. This is my contribution to the survival of the online
> community."
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
> **********************************************************************



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]