[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Compilation of FreeBSD-current/amd64
From:       Anders Magnusson <ragge () ludd ! ltu ! se>
Date:       2011-01-29 15:21:11
Message-ID: 4D443067.2070909 () ludd ! ltu ! se
[Download RAW message or body]

Quick summary if someone wants to compile the FreeBSD system on amd64:

- Install pcc and pcc-libs
- cd to the top of the system.  Type:
     make CC=/usr/local/bin/pcc WITHOUT_GROFF=1 WITHOUT_CLANG=1 
WITHOUT_TOOLCHAIN=1 WITHOUT_BOOT=1 WITHOUT_NS_CACHING=1

..wait a short period of time :-)

The "WITHOUT" stuff above are:
- WITHOUT_GROFF - since no c++ support :-)
- WITHOUT_CLANG - no need to compile.
- WITHOUT_TOOLCHAIN - actually can be compiled, but something bailed out 
and I haven't fixed it.
- WITHOUT_BOOT - can be compiled but the boot blocks will be slightly 
larger than allowed.
- WITHOUT_NS_CACHING - contains gnu cpp extensions that isn't added to 
pcc (yet).

The bootblock size errors is probably simple to fix.  To compile them 
also the i386 ccom must be installed:

./configure --target=i386-freebsd

then copy cc/ccom/i386-freebsd-ccom to /usr/local/libexec/ccom_i386
(yeah, this procedure sucks, but I'll fix that later).

If pcc is given -m32 then it will call the 32-bit ccom instead.

-- Ragge
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic