config.sub generation bug?

Joel Sherrill joel.sherrill at OARcorp.com
Thu Apr 2 14:06:33 UTC 2009


ORMANCEY Nicolas wrote:
>
> Hi,
>
>  
>
> I’m porting RTEMS on an open source hypervisor.
>
> And I’m 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 L’Europe
>
> 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