Mercurial > sdl-ios-xcode
annotate INSTALL @ 3293:0d60bdebed39
Fixed bug #674
Matej 2009-01-08 09:25:34 PST
Hello,
I maintain a cross-platform project that uses SDL.
One of the users who runs OSX has told me that he has problems with linking to
SDL due to missing -framework option.
I think that the problem is because of this:
'sdl-config --libs' outputs '-L/opt/local/lib -lSDLmain -lSDL
-Wl,-framework,Cocoa'
All the options are passed to the linker except the last one. I think that the
good output should be just:
'-L/opt/local/lib -lSDLmain -lSDL -framework Cocoa'
since those options (--libs) are passed to the linker, so the '-Wl' option is
redundant and possibly harmful in this very case
I use autotools with libtool to do the build...
Regards,
Matej
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 10:23:19 +0000 |
parents | 0a45995a7fc3 |
children | 00e7c6b7eb03 |
rev | line source |
---|---|
0 | 1 |
2 To compile and install SDL: | |
3 | |
4 1. Run './configure; make; make install' | |
5 | |
866
0a45995a7fc3
Date: Tue, 2 Mar 2004 11:34:54 +0100
Sam Lantinga <slouken@libsdl.org>
parents:
533
diff
changeset
|
6 If you are compiling for Windows using gcc, read the FAQ at: |
0a45995a7fc3
Date: Tue, 2 Mar 2004 11:34:54 +0100
Sam Lantinga <slouken@libsdl.org>
parents:
533
diff
changeset
|
7 http://www.libsdl.org/faq.php?action=listentries&category=4#42 |
0 | 8 |
9 If you are compiling using Visual C++ on Win32, you should read | |
10 the file VisualC.html | |
11 | |
12 2. Look at the example programs in ./test, and check out the HTML | |
13 documentation in ./docs to see how to use the SDL library. | |
14 | |
15 3. Join the SDL developer mailing list by sending E-mail to | |
253
b23d3c5a32f3
Updated mailing list information
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
16 sdl-request@libsdl.org |
b23d3c5a32f3
Updated mailing list information
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
17 and put "subscribe" in the subject of the message. |
0 | 18 |
253
b23d3c5a32f3
Updated mailing list information
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
19 Or alternatively you can use the web interface: |
533
263e4884f70d
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
253
diff
changeset
|
20 http://www.libsdl.org/mailing-list.php |
0 | 21 |
22 That's it! | |
23 Sam Lantinga <slouken@libsdl.org> |