>At 2:48 PM -0800 11/25/09, John Rose wrote: >>+ CC=gcc-4.0 >>+ CXX=g++-4.0 >>+ ALT_COMPILER_PATH=$(pwd -P)/ALT_COMPILER_PATH/ > >I'm confused about what ALT_COMPILER_PATH is supposed to refer to. > >I'm getting errors like: > >/bin/sh: /Users/stephen/dev/java/src/bsd-port/ALT_COMPILER_PATH/gcc: No such >file or directory >
I should have searched a bit harder before asking ;-) At 2:34 PM -0700 10/7/09, John Rose wrote: >-------- > export ALT_COMPILER_PATH=$(pwd -P)/ALT_COMPILER_PATH/ >-------- > ls -la ALT_COMPILER_PATH/ >total 24 >drwxr-xr-x 5 jrose staff 170 Oct 3 16:59 . >drwxr-xr-x 30 jrose staff 1020 Oct 7 14:30 .. >lrwxr-xr-x 1 jrose staff 8 Oct 3 16:58 .SOURCE ->/usr/bin >lrwxr-xr-x 1 jrose staff 15 Oct 3 16:59 g++ -> .SOURCE/g++-4.0 >lrwxr-xr-x 1 jrose staff 15 Oct 3 16:59 gcc -> .SOURCE/gcc-4.0 >-------- > >Maybe that's your problem too? (And maybe there's a better way than mine to >fix it?) Basically, the forest-level makefile does not respect those >environment variables, although the hotspot repo. makefiles do. It's >confusing, butapparently the forest-level makefiles refer to the jdk repo. >makefiles, which in turn have the names "gcc", "g++"hard-coded, and require a >setting to ALT_COMPILER_PATH to override. > >I think the philosophy here (Kelly O'Hair would know for sure) is to minimize >the environmental inputs to the makefiles, makingthem be clearly marked, hence >the "ALT_" convention. > >-- John _______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
