bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting Binutils to A New Target And Getting Error.


From: Prashant Purohit
Subject: Re: Porting Binutils to A New Target And Getting Error.
Date: Fri, 8 Jan 2010 01:45:25 -0800 (PST)

Hi Nick, 

   Thanks for the quick reply.

   All the files which you mentioned are modified.

   Also, I am referring the same document for which you have given a link.

   But still I am getting the same error.

   I have some doubt in the file  "bfd/archures.c" 

   As mentioned in the link document, I have added new target name to
"bfd_architecture" enumeration  in the bfd/archures.c but this portion of
the code is commented in the source code.

   Whether I need to un-comment that portion or need to run some other
utility before running configure script and make utility.

   Thanks in advance,

Regards,
Prashant







Nick Clifton wrote:
> 
> Hi Prashant,
> 
>> I am trying to port binutils-2.19 to a new target.
> 
> Note - you would be better off using the current mainline development 
> sources.
> 
>> But when I give 'make all' command, I am getting 'unknown target vector'
>> error.
> 
> Look at the bfd/config.bfd file.  You will need to add an entry for your 
> target.
> 
> If you have not done so already then you will also need to modify the 
> bfd/archures.c and bfd/targets.c files as well.
> 
> Cheers
>    Nick
> 
> PS.  There is now a guide to porting the binutils to a new target, which 
> you may find helpful.  See:
> 
>    http://sourceware.org/binutils/binutils-porting-guide.txt
> 
> 
> 
> _______________________________________________
> bug-binutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-binutils
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Porting-Binutils-to-A-New-Target-And-Getting-Error.-tp27058018p27073520.html
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]