Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » clang or MinGW (am I doing something wrong or is MinGW acting strangely peculiar?)
clang or MinGW [message #51402] Fri, 22 March 2019 00:11
mtdew3q is currently offline  mtdew3q
Messages: 181
Registered: July 2010
Location: Upstate, NY (near Canada)
Experienced Member

HI all-

In the past and even now, I run into the most confounded scenarios where MinGW can't find libraries. Let me give you an example-

Based on my memory something like from the command-line:

mingw-compiler-g++.exe -c -fpic file1.c -I/include/path
mingw-compiler-g++.exe -shared -o mylib.dll file1.o -L. -lm etc.

It never pays attention to what I tell it in the search path. I thought -L. says, "hey, look in the current directory!" The search-path kills me.

Trying to be patient, and I am not sure I understand. Is that a correct way to run the compiler and make a DLL file, or am I doing something wrong? I am just wondering if anyone else uses -L. in their shell or IDE, and does it not find things for them as well?
Thnx.- roboloki
Previous Topic: I keep getting the same "cannot open exe for writing" error...
Next Topic: solved: MinGW mystery: Using U++
Goto Forum:
  


Current Time: Tue Mar 19 09:25:18 CET 2024

Total time taken to generate the page: 0.01756 seconds