config.sub generation bug?
ORMANCEY Nicolas
nicolas.ormancey at sogeti.com
Thu Apr 2 14:38:35 UTC 2009
Hi joel,
You're right
The message is exactly
Invalid configuration ` myCPUfamily -rtems ': machine ` myCPUfamily ' not
recognized
I did like you by copying a score/cpu directory and modified the
configure.ac and Makefile.am files
I have created (by copy) the tree contrib./crossrpms/rtems4.8/myCPUfamily/
And modified files to be as close as possible of the source tree
configuration
But myCPUfamily don't appear in the config.sub file
Thanks
-----Message d'origine-----
De : Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
Envoyé : jeudi 2 avril 2009 16:07
À : ORMANCEY Nicolas
Cc : rtems-users at rtems.com
Objet : Re: config.sub generation bug?
ORMANCEY Nicolas wrote:
>
> Hi,
>
>
>
> Im porting RTEMS on an open source hypervisor.
>
> And Im developing the BSP for this new hardware
>
>
>
> I decide to consider this hypervisor as a new CPU family.
>
> So, by copy of sparc family and leon2 BSP I have generated and
> modified all needed files (I hope so)
>
> But when I launch the configure command it exit with the error
> myCPUfamily not recognized
>
>
>
$ ./config.sub joel-rtems4.10
Invalid configuration `joel-rtems4.10': machine `joel' not recognized
What exactly is the output from config.sub?
And if it doesn't give a message like above, what is the EXACT error
from configure.
Do you have a score/cpu directory yet? I don't recall the checks in
place because
I always copy stub files into a new cpu when I start and add it to the
configure.ac
and Makefile.am as appropriate. I like to have things compiling before I
hack.
Also it will eventually check for myCPUfamily-rtems4.10-gcc or whatever the
full target name is. You need to address that with symlinks or something.
>
> If in the congig.sub file I add myCPUfamily the configure command
> succeed
>
> So is it a bug or more probably I forget to add or modified a file
> but witch one
>
>
>
> Can you help me?
>
> With a detailed procedure to add a CPU
>
> Or
>
> From which files the config.sub is generated at boostrap time
>
>
>
It isn't generated.
>
> Thanks
>
> Nicolas
>
>
>
>
>
>
>
>
>
>
>
> Nicolas ORMANCEY
>
> 485, Avenue de LEurope
>
> 38330 Montbonnot Saint Martin
>
> 04 76 52 66 38
>
>
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list