Hi, I upgraded the binutils version in uspace/app/binutils/Makefile to test the latest release of binutils:
-REDIST_VERSION = 2.21.1 +REDIST_VERSION = 2.22 REDIST_NAME = binutils-$(REDIST_VERSION) REDIST_FILENAME = $(REDIST_NAME).tar.bz2 REDIST_SOURCE = ftp://ftp.gnu.org/gnu/binutils/ Then, i started the build process with required flags: make PROFILE=ia32 CONFIG_PCC=y CONFIG_DEVEL_FILES=y After booting, i tested if everything was okay : # cc --version pcc 1.0.0.RELEASE 20110221 for HelenOS # as --version GNU assembler (GNU Binutils) 2.22 [....snip.....] # ld --version GNU assembler (GNU Binutils) 2.22 [....snip.....] # cd /src/c/demos/hello # batch build # ./hello hello! So, it appears everything went quite smooth. Though in this case the assembler is configured for the target i686-pc-linux-gnu, i believe new binutils will work for other targets and profiles too. But, it surely needs to be tested. One other thing i would like to mention is that, currently cross-compiler toolchain is binutils-2.22, gcc-{core, objc, g++}-4.6.3, and gdb-7.4. With the latest release of gcc-4.7.0, the packaging structure has changed and there are no independent tar files for each of gcc-{core, objc, g++}, they are all in one package i.e. gcc-4.7.0.tar.bz2. Sometime in near future, toolchain has to be bumped to gcc-4.7.0, which would require significant changes in the script and then, no doubt, testing with each of the profiles. First, one would have to build the cross-compiler toolchain for all targets, and then build working image.iso for each profile which is a long process, atleast on my machine :-) But, if i get time in near future, i will definitely try to do this. Thanks, Vivek Prakash
_______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
