Skip to contentSkip to conversation

configure/make target machine

DISCUSSION Aaron Carroll 2 participants 2 messages Mar 12, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

It would be nice to make fio a little more cross compile friendly. Right now configure determines the target by checking for C defines and falling back to uname. The makefile then reads uname again. Is there any reason we can't propagate the host/target from configure to makefile?

Thanks,
-- Aaron

#1 lore raw
Quoted 6 lines · Aaron Carroll

Hi,

It would be nice to make fio a little more cross compile friendly. Right now configure determines the target by checking for C defines and falling back to uname. The makefile then reads uname again. Is there any reason we can't propagate the host/target from configure to makefile?

Absolutely no reason why that could not be done. I haven't played much wit cross compiling myself (ever), so feel free to implement a proper way of passing the required info to configure/Makefile so that it's more cross build friendly.

Signature · 1 line
Jens Axboe