[CMake] building gcc with cmake

2011-01-05 Thread luxInteg
just curious,

but I wondering if anyone on list has ever built gcc with cmake.
(or  at least had a go)


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] building gcc with cmake

2011-01-05 Thread Alan W. Irwin

On 2011-01-06 03:02- luxInteg wrote:


just curious,

but I wondering if anyone on list has ever built gcc with cmake.
(or  at least had a go)


I did it by hand years ago (1996 when I started with Linux and needed
to add g77 to the slackware version of gcc that I had at the time.) It
was pretty straightforward.  Basically, you iterated the build of the
C component until that converged, then added in all the other
languages for a last build of the complete collection of language
compilers.

If that continues to be the method, enshrining all those steps in a
CMakeLists.txt file would make a small amount of sense as an exercise
of your cmake skills, but you could do it with an ordinary bash script
as well, and I assume that is what is done now in any case.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] building gcc with cmake

2011-01-06 Thread luxInteg
On Thursday 06 January 2011 02:11:46 Alan W. Irwin wrote:
> On 2011-01-06 03:02- luxInteg wrote:
> > just curious,
> > 
> > but I wondering if anyone on list has ever built gcc with cmake.
> > (or  at least had a go)
> 
> I did it by hand years ago (1996 when I started with Linux and needed
> to add g77 to the slackware version of gcc that I had at the time.) It
> was pretty straightforward.  Basically, you iterated the build of the
> C component until that converged, then added in all the other
> languages for a last build of the complete collection of language
> compilers.
> 
> If that continues to be the method, enshrining all those steps in a
> CMakeLists.txt file would make a small amount of sense as an exercise
> of your cmake skills, but you could do it with an ordinary bash script
> as well, and I assume that is what is done now in any case.
> 
> Alan


I have built gcc//C,C++,ada,fortran// with {configure, make, make install} a 
few times.  However I was thinking of  more than gcc and  said tools.  
I was thinking   also  if cmake has been used to  build glibC, binutils  (i.e. 
toolchains) as well.  Possible applications could be in embedded  areas 
including non-x86 cpu's.  (Incidently does anyone know if  cmake does(can)  
run on either  Renesas' superH-cpu  or  A-D's blackfin-cpu   machines?) 
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] building gcc with cmake

2011-01-06 Thread Bill Hoffman

On 1/6/2011 7:16 AM, luxInteg wrote:

On Thursday 06 January 2011 02:11:46 Alan W. Irwin wrote:

On 2011-01-06 03:02- luxInteg wrote:

just curious,

but I wondering if anyone on list has ever built gcc with cmake.
(or  at least had a go)




gccxml has CMake files that build most of gcc.

http://www.gccxml.org/HTML/Index.html

-Bill
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake