Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Invalid character in name (Fortran90 -> Go) #35
When running the latest revision of quine-relay on Arch Linux, I get the following error:
This is the version of gfortran:
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I'm the maintainer of the AUR package for f2c. On my system, the F77 -> F90 step segfaults when I use the default tcc for that step. However, the entire quine-relay runs all the way through with no errors at any step if I use gcc or clang instead. The programs that gcc and clang produce from the f2c'd source do not write anything to stderr, either.
Do you two still have problems if you use gcc or clang? If so, I'll look into them as potential bugs in the f2c package.
Another option is to simply use $(CC) (which I believe defaults to cc if it's not defined by the environment, at least using GNU make), and let whoever's running it choose their own compiler using environment variables. Similarly you can use $(CXX) for the C++ compiler.
Unfortunately clang seems not to work so well.
I guess it is a good idea to use $(CC) and to add to the document something like "try make CC=tcc if you have no enough memory."