This is the mail archive of the gcc@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: Help for porting



----- Original Message -----
From: dhinakaran <dhinamba@yahoo.com>
To: <gcc@gcc.gnu.org>
Sent: Thursday, July 26, 2001 6:32 AM
Subject: Help for porting


> Hi,
>
>   I  studied the Using and Porting GNU Compiler
> collection book and according to that document, say if
> we are porting from arm gcc code to a new architecture
> then the files that has to be modified is arm.c
> ,arm.h,
> arm.md , xm-arm.h  and little modification in config
> files.

you need to create a new directory <cpu> and you need to add  <target>.md,
<target?>.h and <target>.c.
files in that directory. This is the ideal case. Yoou may need to add some
files in the same directory or
you may need to modify some files in the standard part (less probable)
depending on the situation.

regards,

V.Brahmaiah





Apart from this is there any other part that has
> to be modified , rest everything is common part am i
> right.Please help me,since iam new to this.
>
> Thanks in advance,
>
> -Rgds,
> Dhina.
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/


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