Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#450 closed defect (invalid)

can not build PCC & binutils with manual configuration

Reported by: jetlan Owned by:
Priority: major Milestone: 0.5.0
Component: helenos-build/ia32 Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

I follow the build guide at http://trac.helenos.org/wiki/UsersGuide/CompilingFromSource. I got latest code by bzr command.

I run "make distclean && make config" then filled all question mark item and checked pcc & binutils. I check Makefile.config the CONFIG_PCC = y & CONFIG_BINUTILS = y

Then run "make -C release release PROFILES=ia32" However the final ISO image in release directory doesn't include pcc & binutils. I check /var/tmp/helenos/HelenOS-0.4.3/Makefile.config. But the CONFIG_PCC = n and CONFIG_BINUTILS = n

I guess the make system don't copy Makefile.config to $(EXPORT_DIR). But it create a one for it.

Attachments (1)

Makefile.config (3.5 KB) - added by jetlan 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by jetlan

Attachment: Makefile.config added

comment:1 Changed 7 years ago by Jakub Jermář

Resolution: invalid
Status: newclosed

I am afraid you misunderstood what make release does. It does not use the normal configuration, but one from the profile. So if you want to make a profile, which automatically includes pcc and binutils, you need to create one. Take a look e.g. in defaults sparc64 to see how to specify a profile with non-default settings.

There is also one caveat with the choice of the root fs. Now when mkfat.py support LFN, we can enable pcc and binutils also for FAT.

comment:2 Changed 7 years ago by Jiri Svoboda

Updated the guide to make it more clear. For building release files this is exactly what we want. And we should not tweak the profiles locally before a release either. It should work in the upstream.

Note: See TracTickets for help on using tickets.