Page 1 of 1

Xml build Systeem

Posted: Sun May 29, 2005 2:12 pm
by Dr. Fred
We got a new build system.

Posted: Sun May 29, 2005 4:00 pm
by Headstrong
:lol:

hey, come on, how about a few more details.

why?
what?
how?
and who ?

Posted: Sun May 29, 2005 7:58 pm
by Dr. Fred
Casper created a new build system it first uses the norml make file to create a program called rbuild and then builds the rest using xml-make-files. That is much faster. GreateLord said 12-15 mins instead of 25-30 mins.
Alex on wiki wrote:This is the xml build system TODO list:

* Reimplement Alex's features for "Release" Builds:
o Support -Os optimization [DONE]
o Support Linker Flags (like -Wl, -O1)
o Run strip -x on the output binaries.

This allows release binaries (for users) to be much smaller (the size that MSVC would produce them) and removes GCC bloat. As an example, a debug version of the kernel is 1.8MB. A release version is 530KB. This is almost a 4x difference in size, and is not neglicible, especially for a kernel. A complete livecd for developers is 40MB. The Release one is ~25MB. Once again, a noticeable improvement. Also, a release version is able to boot on systems with as little as 14MB of memory. Finally, the installation is about two times as fast. Release versions are a must for our users for a variety of reasons. I've worked hard with other developers to make them possible and spent days on getting them to work right. I would like the above features to return; they should take less then an hour to implement.

Posted: Mon May 30, 2005 1:02 am
by sherpya
for linux cross builders using debian now you can set

Code: Select all

export ROS_PREFIX=i586-mingw32msvc
without modifing any makefile

the var can be added in .bashrc

Posted: Mon May 30, 2005 10:57 am
by Dr. Fred

Posted: Mon May 30, 2005 5:40 pm
by Dr. Fred
sherpya wrote:for linux cross builders using debian now you can set
If you have prefix "mingw32-" you don't even have to set anything. It will be detected automatically.