OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: bladerunner on March 27, 2006, 03:53:12 pm

Title: Trying To Build Oz 3.5.4 For Collie
Post by: bladerunner on March 27, 2006, 03:53:12 pm
I'm trying to build OZ 3.5.4 for collie for myself but I'm having trouble following the example local.conf.   Is it just me ?  

I installed the ARM cross-compiler on my Linux PC and that works because I can create a hello world program and run it on my collie ( with OZ 3.5.4 installed ).

The build error I'm getting is related to not finding the right compiler...

| checking for arm-linux-gcc... arm-linux-gcc -march=armv4 -mtune=xscale
| checking for C compiler default output file name... configure: error: C compiler cannot create executables

... it seems to try to run arm-linux-gcc and fail, not surprising as the WiKi said rename the compiler to arm-linux-gcc-2.95. Perhaps configure is supposed to try another compiler before failing ??

So I think I'm a bit confused with the ASSUMED_PROVIDED and PREFERRED_PROVIDERS settings in local.conf.

Please can someone post a working local.conf for the collie. It may help others as well.  

Thanks.
Title: Trying To Build Oz 3.5.4 For Collie
Post by: koen on March 27, 2006, 04:24:36 pm
Quote
Please can someone post a working local.conf for the collie. It may help others as well.   
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120539\"][{POST_SNAPBACK}][/a][/div]

The local.conf.openzaurus-3.5.4 should work (once renamed to local.conf), since that's the file hrw uses to build OZ.
Title: Trying To Build Oz 3.5.4 For Collie
Post by: bladerunner on March 27, 2006, 04:32:57 pm
Quote
Quote
Please can someone post a working local.conf for the collie. It may help others as well.   
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120539\"][{POST_SNAPBACK}][/a][/div]

The local.conf.openzaurus-3.5.4 should work (once renamed to local.conf), since that's the file hrw uses to build OZ.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120547\"][{POST_SNAPBACK}][/a][/div]

Thanks. However, I can't seem to find it.  
Please can you tell me the location of local.conf.openzaurus-3.5.4 or post a copy of it ?
Title: Trying To Build Oz 3.5.4 For Collie
Post by: koen on March 27, 2006, 04:46:44 pm
Quote
Quote
Quote
Please can someone post a working local.conf for the collie. It may help others as well.   
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=120539\")

The local.conf.openzaurus-3.5.4 should work (once renamed to local.conf), since that's the file hrw uses to build OZ.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120547\"][{POST_SNAPBACK}][/a][/div]

Thanks. However, I can't seem to find it.  
Please can you tell me the location of local.conf.openzaurus-3.5.4 or post a copy of it ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120551\"][{POST_SNAPBACK}][/a][/div]

org.openembedded.oz354fam083/conf/local.conf.openzaurus-3.5.4

or

org.openembedded.oz354x/conf/local.conf.openzaurus-3.5.4

or

[a href=\"http://ewi546.ewi.utwente.nl/tmp/viewmtn/manifest.psp?id=737acaa4fd04c3be34c9fe3a83beaf07f7532feb&path=conf]http://ewi546.ewi.utwente.nl/tmp/viewmtn/m...32feb&path=conf[/url]
Title: Trying To Build Oz 3.5.4 For Collie
Post by: bladerunner on March 28, 2006, 01:10:44 am
Thanks koen, I've found the example local.conf.openzaurus-3.5.4 , I was using the dev branch ( I'm new to this ).

Unfortunately, local.conf.openzaurus-3.5.4 does not help as it does not contain ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95". Is the WiKi correct ?

Please can someone post a working local.conf for collie or provide instructions to get the arm-linux-gcc-2.95 toolchain to be used by local.conf. The WiKi fails to explain why the rename is required, perhaps I'm looking at the wrong WiKi page or misunderstood something? Any suggestions ?

Also, what are the valid strings for DISTRO and DISTRO_VERSION for OZ 3.5.4 ?
Is DISTRO = "openzaurus-3.5.4" correct with no DISTRO_VERSION specified ?

Is it just me ?  

Thanks.
Title: Trying To Build Oz 3.5.4 For Collie
Post by: koen on March 28, 2006, 01:36:55 am
Quote
Thanks koen, I've found the example local.conf.openzaurus-3.5.4 , I was using the dev branch ( I'm new to this ).

Unfortunately, local.conf.openzaurus-3.5.4 does not help as it does not contain ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95". Is the WiKi correct ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120607\"][{POST_SNAPBACK}][/a][/div]

openzaurus.conf (in conf/distro) already specifies this for you, the wiki is still correct
Title: Trying To Build Oz 3.5.4 For Collie
Post by: Hrw on March 28, 2006, 01:39:07 am
Code: [Select]
MACHINE="collie"
DISTRO="openzaurus-3.5.4"
BBFILES="path_to_org.openembedded.oz354fam083/packages/*/*.bb" # or org.openembedded.oz354x

should be enough. gcc-2.95.3 is ASSUMED in openzaurus-3.5.4.conf

There was a discussion on OE mailing list about that sample config - I will maybe commit simpler version of it.
Title: Trying To Build Oz 3.5.4 For Collie
Post by: bladerunner on March 30, 2006, 03:53:05 pm
Thanks. I can now build the packages OK although I have not tested them.

I have updated the WiKi GettingStarted (http://oe.handhelds.org/cgi-bin/moin.cgi/GettingStarted) and created a new page LocalConfExamples (http://oe.handhelds.org/cgi-bin/moin.cgi/LocalConfExamples)

I suggest the LocalConfExamples (http://oe.handhelds.org/cgi-bin/moin.cgi/LocalConfExamples) page is used to show example configurations and to explain how the local.conf files works.