[Mingw-users] Problem with compiling gotoblas using mingw

0 views
Skip to first unread message

Nan Li

unread,
Jan 23, 2012, 1:27:43 PM1/23/12
to mingw...@lists.sourceforge.net
Hi,

I am now trying to use mingw to compile gotoblas in Windows 7. But every time I tried to compile it, i meet the following bug:

c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../ming32/bin/ld.exe: cannot find -l-lgfortran
collect2: ld returned 1 exit status

Since I am not very familiar with mingw or linux, I have no idea why this bug occurs. Could anybody kindly help me with this problem? Thanks a lot!

--
Best Regards,
Nan Li

Graduate Research Assistant
School of Electrical, Computer and Energy Engineering
Arizona State University
Tempe, AZ, 85281

farmdve data.bg

unread,
Jan 23, 2012, 1:33:13 PM1/23/12
to MinGW Users List
I think the syntax of  -l-lgfortran is wrong. Try changing it to  -lgfortran, of course you will need the library called libgfortran.a and supplying the path to it via -L C:\my path\to lib\


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
MinGW-users mailing list
MinGW...@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-use...@lists.sourceforge.net?subject=unsubscribe

Reply all
Reply to author
Forward
0 new messages