Re: EUDIR, EUINC ??
- Posted by jimcbrown (admin) Nov 07, 2011
- 1415 views
We could setup the installer to put '-gcc' or '-wat' in the eu.cfg, according to what is on the user's system.
Aside from choosing compiler type for the translator, what difference would that make?
That would be the difference.
Ok.
This is going to get a little more complex, I think, with 4.1. The 64-bit version of MinGW seems to come with the target and host information prepended to the names of the executables. Cross compiling versions (i.e., MinGW on Linux) do this for both 32 and 64-bit versions.
I don't see how this is really any different from having i386-pc-linux-gnu-gcc, i386-pc-linux-gnu-ld, i386-pc-linux-gnu-as, i386-pc-linux-gnu-nm, etc.
The lack of a file named gcc or cc makes finding the right executable names harder (the configure script might need to guess-and-check to see what exists) but it's hardly insurmontable. Hardcoding the names of executables into the makefile is not really good practice at any rate. Someone might want to try something weird like manually invoking distcc or using nasm instead of gas.