Hi, g++ knows of -mbig-endian not -f
Anyhow is just a thought. Alin -- ______________________________________________________________________ "If the Universities will not study useless subjects, who will?" G. F. FitzGerald, Nature, 45/46, 392 (1892) ______________________________________________________________________ Mr Alin M ELENA Irish Centre for High-End Computing -- www.ichec.ie The Design Tower, Trinity Technology & Enterprise Campus Grand Canal Quay, Dublin 2, Ireland Tel: +353 (0) 1 5241608 ext 29 Fax: +353 (0) 1 7645845 http://alin.elenaworld.net alin.el...@ichec.ie alinm.el...@gmail.com ______________________________________________________________________ On Tuesday 31 March 2009 17:27:39 you wrote: > > Should not the flag be passed to the linker? So in this case the > > linker flags are read from the c++ compiler flags? > > I tried adding > add_definitions( ${CMAKE_Fortran_FLAGS} ) > But the g++ linker complained about an unrecognized option (the - > fconvert=big-endian option). > > When linking, I pull in the gfortran library, > target_link_libraries( readx gfortran ) > > When creating the fortran object files the appropriate flags are > passed, but the g++ compiler has no notion of endian-ness... > > Any other ideas?
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake