Skip to contentSkip to conversation

226 F May 26 Yoshinori K. Okuji ( 25) [ configure host and target

DISCUSSION Harley D. Eades III 1 participant 1 message May 27, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines

According to a suggestion by an autoconf developer, I think we should change the build system in this way:

- Use "host" to represent an environment in which utilities (tools) run. This is a natural interpretation of the meaning of "host" in autoconf.

- Use "target" to represent a native environment in which the grub kernel and modules run. This is not very natural, but a bit easier to understand.

Quoted 7 lines

- Use CPPFLAGS, CFLAGS, LDFLAGS, etc. for the "host". This is more intuitive.

- Use TARGET_CPPFLAGS, TARGET_CFLAGS, etc. for the "target". Usually, the user does not need to tweak these flags manually, so they are not necessary to be very intuitive.

If there is no objection, I will work on this issue very soon.

I like this design, it makes the build system a lot easier to understand. It will also make porting to other OS's less painful. :)

Nice job.
Harley