make zImage

make zImage

Post by Minh B » Mon, 02 Dec 1996 04:00:00



I am compiling a new kernel with linux but I am having problems.

during the make zImage process, I recieve:

        cc1:invalid option 'align-loops=2'
                                  'align-jumps=2'
                                  'align-functions=2'

the process stops at this point.  Can anyone help ?


 
 
 

make zImage

Post by Mikey Linia » Wed, 04 Dec 1996 04:00:00



> I am compiling a new kernel with linux but I am having problems.

> during the make zImage process, I recieve:

>         cc1:invalid option 'align-loops=2'
>                                   'align-jumps=2'
>                                   'align-functions=2'

> the process stops at this point.  Can anyone help ?



Hi,

Get GNU gcc 2.7.2.1 or use the CFLAGS macro without the 3 above options
(example - make CFLAGS="...." zIMage).

Good luck.
Doron Bauer.

 
 
 

make zImage

Post by Shankar Un » Thu, 05 Dec 1996 04:00:00



> Get GNU gcc 2.7.2.1 or use the CFLAGS macro without the 3 above options
> (example - make CFLAGS="...." zIMage).

Uh, careful with the first part of that advice: getting GCC 2.7.2.1 also
means getting libc 5.4.7 (or .13), and ld.so 1.8.5. These in turn have
rippling effects that you need to be prepared to deal with.

The second part of the advice is better: you can either specify CFLAGS on
the command line, or just edit /usr/src/linux/arch/i386/Makefile.

Even better: just claim your CPU is a 486 during the "make config" step. As
far as I can tell from the source, this information is used *only* to
select the compilation flags.

See the text from the Documentation/Configure.hlp file (especially the last
two sentences):

Processor type
CONFIG_M386
  This is the processor type of your CPU. It is used for optimizing
  purposes. In order to compile a kernel that can run on all CPU types
  (albeit not optimally fast), you can specify "386" here.  If you
  specify "486" or "Pentium" or "PPro", then the kernel will run on
  486 and Pentium (=586) and Pentium Pro (=686) CPUs. In rare cases,
  it can make sense to specify "Pentium" even if running a 486: the
  kernel will be smaller but slower. On the other hand, if you use a
  compiler before gcc 2.7 (say "gcc -v" to find out), then you have to
  say "386" or "486" here even if running on a Pentium or PPro
  machine. If you don't know what to do, say "386".

P.S. The kernel tries anyway to figure out for itself what CPU is really in
use. (Actually, there are checks for a 386 versus newer chips, but nothing
specifically for a 486 .vs. a Pentium).

--

Chromatic Research                            (408) 752-9488

 
 
 

make zImage

Post by Erik Kunz » Thu, 05 Dec 1996 04:00:00



> I am compiling a new kernel with linux but I am having problems.

> during the make zImage process, I recieve:

>         cc1:invalid option 'align-loops=2'
>                                   'align-jumps=2'
>                                   'align-functions=2'

> the process stops at this point.  Can anyone help ?

Yeah, read the Changes file that came with the new kernel. I
can't help you reading...

--
   Dipl.-Ing. Erik Kunze               Voice: +49 - 89 - 32 14 07 41
   PHILOSYS Software GmbH              Fax:   +49 - 89 - 32 14 07 12

   85716 Unterschleissheim             WWW:   www.philosys.de/~kunze

 
 
 

1. problem with as86 while making zImage

Hello

  this is really a strange thing to me. When I try to
compile the kernel, make stops with an error message like
this "command not found: as86". Sure I tried to find out
what that is. It is something like a assembler. On another
linux box I got this command in /usr/bin. Ok, I then thought
I forgot to install it. as86 seems to be part of the GNU bin-
utils package, so I got that one and installed it. At least
I tried to. Another strange thing happend, maybe because I can-
not handle the rpm command. Giving rpm -i binutil-2.x.rpm to
the shell brought the message package binutils-2.x.rpm already
installed. So I did a rpm --verify packagename.rpm and it said
bintulis-2.x.rpm not installed. I am really not kidding ! This is
true. So I tried to force it with rpm -i --force --nodeps binutils.rpm
and it did soemthing. I don't knwo what ...  ok I tried to compile
again, having as in /usr/bin. I did a make mrproper in /usr/src/linux
and make menuconfig and then make dep, make clean and then make
zImage. After waiting a little while the same message came again.
I really have no idea what to do now. Anyone have any further
ideas ?

   thanks for any replies

       Timo

2. DOS EMU Compiling

3. error making zImage

4. re-directing system emails?

5. Problems making zImage or zdisk..

6. Scripts that allow execution without read capability

7. Problems making zImage: objdump invalid options

8. telecomm + file mngr?

9. can't find zImage after a make zImage!

10. I can't make zImage with "make zImage"

11. Making changes to env variables and making them stick

12. Making a new kernel - CVSuped, not made world yet.

13. Difference between zImage and vmlinux ?