This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/86566] The preprocessor cpp6 loses line concatenation on FreeBSD


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86566

--- Comment #2 from Yuri <yuri at tsoft dot com> ---
Replacing cpp with gcc6 -cpp fails:

$ gcc6 -cpp -fno-omit-frame-pointer -D__FFTW3
-I/usr/ports/science/quantum-espresso/work/q-e-qe-6.3/include
-I/usr/ports/science/quantum-espresso/work/q-e-qe-6.3/FoX/finclude
-I/usr/ports/science/quantum-espresso/work/q-e-qe-6.3/S3DE/iotk/include/
iotk_base.f90 -o iotk_base_tmp.f90
/usr/lib/crt1.o: In function `_start':
/usr/src/lib/csu/amd64/crt1.c:(.text+0x17b): undefined reference to `main'
collect2: error: ld returned 1 exit status


It seems like it tries to link the executable?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]