[M3devel] Building minimal and fresh cm3...

Dragiša Durić dragisha at m3w.org
Thu Feb 21 17:08:04 CET 2008


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>




More information about the M3devel mailing list