Menu

#2 Cross compiling fails

open
nobody
None
5
2004-07-19
2004-07-19
Nigel Horne
No

Doesn't build in a cross compiling environment:

[njh@njh xcruiser-0.30]$ xmkmf -a
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
xgcc: installation problem, cannot exec `cc1': No such
file or directory
/usr/X11R6/bin/xmkmf: line 70: 8181 Broken pipe
imake $imake_defines $args
[njh@njh xcruiser-0.30]$

This is because although $CC is honoured from the
environment, $CFLAGS isn't and CFLAGS includes a
pointer to the cc1 pass.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB