This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: GFortran 44 optimizations and Intel SSE4


On Tuesday 01 November 2011 22:14:43 Jacob Anderson wrote:
> If I specify all BUT the -O3, it works fine and I get an executable without
> any link errors.
> 
> Only the "-O3" option causes the link errors.

-O3 enables a batch of options, see the documentation for details.

The link error you quoted

> undefined reference to `std::basic_ostream<char, std::char_traits<char>
> >& std::__ostream_insert<char, std::char_traits<char>
> >(std::basic_ostream<char, std::char_traits<char> >&, char const*,
> long)'

is related to C++, not Fortran. You may want to link libstdc++ for that.

HTH

	Daniel


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