[MSYS] Altering linker path

View: New views
2 Messages — Rating Filter:   Alert me  

[MSYS] Altering linker path

by Sisyphus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Trying to build a dynamic 64-bit freeglut library in the msys shell and it's
not working because of things like:

*** Warning: linker path does not have real file for library -lopengl32.

I'm wondering:

1) How do I see what this mysterious "linker path" contains;
2) How do I alter the contents of this mysterious "linker path".

(I acknowledge that the correct solution to my problem has nothing to do
with answering either 1) or 2), but I would appreciate an answer, anyway ...
if someone has one :-)

Cheers,
Rob


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.

Most annoying abuses are:
1) Top posting
2) Thread hijacking
3) HTML/MIME encoded mail
4) Improper quoting
5) Improper trimming
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Re: [MSYS] Altering linker path

by JonY-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/1/2009 21:30, Sisyphus wrote:

> Hi,
> Trying to build a dynamic 64-bit freeglut library in the msys shell and it's
> not working because of things like:
>
> *** Warning: linker path does not have real file for library -lopengl32.
>
> I'm wondering:
>
> 1) How do I see what this mysterious "linker path" contains;
> 2) How do I alter the contents of this mysterious "linker path".
>
> (I acknowledge that the correct solution to my problem has nothing to do
> with answering either 1) or 2), but I would appreciate an answer, anyway ...
> if someone has one :-)
>

Hi,

use gcc -print-search-dirs to find out, check the "libraries" section.

Alter it by passing "-L/path/to/my/other/libdir" in MSYS, it will be
added to the library search path.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.

Most annoying abuses are:
1) Top posting
2) Thread hijacking
3) HTML/MIME encoded mail
4) Improper quoting
5) Improper trimming
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users