Skip to contentSkip to conversation

kbuild: Implicit dependence on the C compiler

DISCUSSION Bodo Eggert 3 participants 3 messages Jan 19, 2005 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 3 lines · Sam Ravnborg

1) Unconditionally execute make install assuming vmlinux is up-to-date. make modules_install run unconditionally, so this is already know practice

(o) Vote for this.

IMO, a make install should NEVER run the compiler.

The reason is: I'm deliberaely compiling as a user on the fastest system before I copy or mount the FS to/on some other box and do a make install. The other box will be _very_ slow while compiling or missing some of the needed components (e.g. gcc).

#3 lore raw
Quoted 6 lines · Bodo Eggert
Quoted 3 lines · Sam Ravnborg

1) Unconditionally execute make install assuming vmlinux is up-to-date. make modules_install run unconditionally, so this is already know practice

Quoted 9 lines

(o) Vote for this.

IMO, a make install should NEVER run the compiler.

The reason is: I'm deliberaely compiling as a user on the fastest system before I copy or mount the FS to/on some other box and do a make install. The other box will be _very_ slow while compiling or missing some of the needed components (e.g. gcc).

You must never execute make install or make modules_install without the explicit action of the operator! To do so could (will) result in an un-bootable system. I can't imagine what somebody would be thinking to propose an automatic install. Whoever proposed this must have lots of time and little knowledge. They are going to be reinstalling everything from the distribution CD as a hobby.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.

#4 lore raw
Quoted 11 lines · linux-os
Quoted 4 lines
Quoted 3 lines · Sam Ravnborg

1) Unconditionally execute make install assuming vmlinux is up-to-date. make modules_install run unconditionally, so this is already know practice

You must never execute make install or make modules_install without the explicit action of the operator! To do so could (will) result in an un-bootable system. I can't imagine what somebody would be thinking to propose an automatic install. Whoever proposed this must have lots of time and little knowledge. They are going to be reinstalling everything from the distribution CD as a hobby.

What I think Sam meant was, to let make install assume that vmlinux is up-to-date, IOW, just to remove the dependency of install on vmlinux.

Err, to put it in your words: I can't imagine what somebody would be thinking to think he proposed an automatic install. :-P

Sytse