Welcome to Dream.In.Code
Become an Expert!

Join 149,504 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,362 people online right now. Registration is fast and FREE... Join Now!




Compiler Clashes

 
Reply to this topicStart new topic

Compiler Clashes, My G95 Fortran and Dev C++ Compilers Clash

Louisda16th
23 Jul, 2007 - 04:47 AM
Post #1

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
I downloaded the g95 Fortran compiler. Now after it sets it environment variables, none of my C/C++ programs compile on Developer C++. I get the following Message on the compiler log:

Compiler: Default compiler
Building Makefile: "G:\Learinig C-K&R\Makefile.win"
Executing make...
make.exe -f "G:\Learinig C-K&R\Makefile.win" all
gcc.exe chap1_eg9.o -o "chap1_eg9.exe" -L"G:/Dev-Cpp/lib"

F:/g95/lib/crt2.o(.text+0x16a):crt1.c: undefined reference to `__cpu_features_init'
collect2: ld returned 1 exit status

make.exe: *** [chap1_eg9.exe] Error 1

Execution terminated

If I remove the environment variables, my programs compile with no problem. But then g95 doesn't work. Is there a way I can fix it?

The g95 FORTRAN Compiler is available here: http://www.g95.org/
Developer C++ Is available here: http://www.bloodshed.net/dev/devcpp.html
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 06:47PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month