[M3devel] Building minimal and fresh cm3...

Olaf Wagner wagner at elegosoft.com
Thu Feb 21 19:09:13 CET 2008


Why not just use scripts/make-bin-dist-min.sh? This is run nightly for
all tested platforms, too.

If you could add a switch to produce an rpm archive on Linux, that
could be done automatically, too.

Olaf

Quoting Dragiša Durić <dragisha at m3w.org>:

> I am trying to make minimal binary rpm for latest cm3. I am creating
> it's contents with:
>
> *** copied and edited cm3.cfg for new root. Set M3CONFIG to point to it.
>
> *** copied cm3cg into new .../bin (Do I need ONLY these three files for
> bootstrap only??? cm3, cm3cg and cm3.cfg)
>
> *** checked out yesterday's head
>
> *** did ./scripts/do-cm3-std.sh buildship
>
> 	At this moment, I would like to bootstrap new compiler. I see there's
> "sysutils" package now, so probably I have to modify former list of
> packages, and I did it so I typed:
>
> *** for i in m3-libs/sysutils m3-sys/m3middle m3-sys/m3linker
> m3-sys/m3front m3-sys/m3quake m3-sys/cm3; (cd $i; cm3 -realclean; cm3;
> cm3 -ship)
>
> 	All went well, except I had to add m3objfile (and later m3back) because
> of:
>
> "/home/dragisha/src/cm3-cvshead-20080221/cm3/m3-sys/cm3/src/m3makefile",
> line 24: quake runtime error: unable to open
> "/home/dragisha/cm3/pkg/m3objfile/LINUXLIBC6/.M3EXPORTS" for reading
>
> 	I supposse I also have to build m3cc so I have latest cm3cg?
>
> *** did ./scripts/do-cm3-std.sh buildship so all is build with latest
> cm3.
>
> 	Is this all I need to have brand new hierarchy I can pack into rpm and
> distribute?
>
> dd
>
> --
> Dragiša Durić <dragisha at m3w.org>
>
>



-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list