* note about compiling SMP kernels
@ 1999-09-10 4:14 Paul Mackerras
1999-09-10 5:18 ` Sriranga Veeraraghavan
0 siblings, 1 reply; 3+ messages in thread
From: Paul Mackerras @ 1999-09-10 4:14 UTC (permalink / raw)
To: linuxppc-dev
Just a quick note for those of you who are trying to compile up a
kernel for an SMP powermac: make sure that you are not using an old
arch/ppc/kernel/ppc_defs.h file from a UP compile. For instance, my
rsync trees have a version of this file in them which is suitable for
a UP compile.
So, before compiling for SMP for the first time, do a make clean in
the tree first, even if the tree has no object files in it.
Paul.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: note about compiling SMP kernels
1999-09-10 4:14 note about compiling SMP kernels Paul Mackerras
@ 1999-09-10 5:18 ` Sriranga Veeraraghavan
1999-09-14 6:58 ` Paul Mackerras
0 siblings, 1 reply; 3+ messages in thread
From: Sriranga Veeraraghavan @ 1999-09-10 5:18 UTC (permalink / raw)
To: linuxppc-dev
> So, before compiling for SMP for the first time, do a make clean in
> the tree first, even if the tree has no object files in it.
Is the correct procedure still:
cd /usr/src/linux
make mrproper
make pmac_config
make menuconfig (or whatever you please)
make dep
make clean
gmake -j 3 vmlinux
Just as a side note: I recently upgraded to LinuxPPC R5 and was able
to sucessfully compile a SMP 2.2.12 kernel from stock sources from
ftp.kernel.org.
I have since determined that my problems with LinuxPPC R4.1 were due
to an older version of gcc/egcs. The stock gcc in R4.1 is egcs 1.02,
but it looks like I needed egcs 1.1.2 to sucessfully build a SMP
kernel.
----ranga <ranga@soda.berkeley.edu>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: note about compiling SMP kernels
1999-09-10 5:18 ` Sriranga Veeraraghavan
@ 1999-09-14 6:58 ` Paul Mackerras
0 siblings, 0 replies; 3+ messages in thread
From: Paul Mackerras @ 1999-09-14 6:58 UTC (permalink / raw)
To: ranga; +Cc: linuxppc-dev
Sriranga Veeraraghavan <ranga@CSUA.Berkeley.EDU> wrote:
> Is the correct procedure still:
>
> cd /usr/src/linux
> make mrproper
> make pmac_config
> make menuconfig (or whatever you please)
> make dep
> make clean
> gmake -j 3 vmlinux
That would be fine (but isn't your make == gmake anyway?). I don't do
the make mrproper myself very often since that deletes your .config, I
tend to do make oldconfig; make clean; make dep; make vmlinux modules
(with a -j if you like).
Paul.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-09-14 6:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-10 4:14 note about compiling SMP kernels Paul Mackerras
1999-09-10 5:18 ` Sriranga Veeraraghavan
1999-09-14 6:58 ` Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).