Generating dependencies for XXXX is not necessary in configure

Isn’t it just better to use GCC’s -MMD during compilation ???
It cost GCC no time, but will save our time waiting for configure to
finish. Moreover it does update dependencies too when work on the code.

Regards,–
Adam Strzelecki | nanoant.com

I had some trouble getting that to work. Do you have a working patch?On Fri, Oct 2, 2009 at 7:41 AM, Adam Strzelecki wrote:

Isn’t it just better to use GCC’s -MMD during compilation ???
It cost GCC no time, but will save our time waiting for configure to finish.
Moreover it does update dependencies too when work on the code.

Regards,

Adam Strzelecki | nanoant.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

I had some trouble getting that to work. Do you have a working patch?

Ugh those autotools files are pretty obscure. But here it is
(attached). It injects object.lo <- source relation directly into
Makefile, so build-deps isn’t necessary anymore.
Also I simplified at loop for generating stuff for each extension.

Finally removed SOURCES SDLMAIN_SOURCES from Makefile.in since they’re
not used anyway.

Regards,–
Adam Strzelecki | nanoant.com

P.S. Have you considered dropping autotools dependency and its bloat
at all? The way FFMPEG guys did it with single built from scratch
configure script that generates config.mak read by Makefile.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL-SVN-autodeps-via-MMD.patch
Type: application/octet-stream
Size: 4150 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20091003/3e6c1f43/attachment.obj

This almost works…

The dependency files need to have %.lo as the target, not %.o.
Otherwise I can change a dependency and nothing rebuilds.

Also version.rc shouldn’t be built with libtool, it should be built
with WINDRES, as shown in makedep.sh.

What’s the fallback for compilers that don’t support -MMD? Are there
any these days? gcc does, icc does… ?

Thanks!On Sat, Oct 3, 2009 at 12:15 PM, Adam Strzelecki wrote:

I had some trouble getting that to work. ?Do you have a working patch?

Ugh those autotools files are pretty obscure. But here it is (attached). It
injects object.lo <- source relation directly into Makefile, so build-deps
isn’t necessary anymore.
Also I simplified at loop for generating stuff for each extension.

Finally removed SOURCES SDLMAIN_SOURCES from Makefile.in since they’re not
used anyway.

Regards,

Adam Strzelecki | nanoant.com

P.S. Have you considered dropping autotools dependency and its bloat at all?
The way FFMPEG guys did it with single built from scratch configure script
that generates config.mak read by Makefile.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

What is the status of SDL for the iPhone. I looked at the posts related to
the Google Summer of Code, but it looks like the guy that was working on the
iPhone port just stopped posting.

I know the commerical version of SDL has iPhone support, but haven’t heard
back yet on the license fees so I thought I would see if there is anything
available in the public version.

Ken Rogoway

The dependency files need to have %.lo as the target, not %.o.
Otherwise I can change a dependency and nothing rebuilds.
Also version.rc shouldn’t be built with libtool, it should be built
with WINDRES, as shown in makedep.sh.

Fixed, see attached patch (version #2).

What’s the fallback for compilers that don’t support -MMD? Are there
any these days? gcc does, icc does… ?

ICC & GCC both support MMD & MT. I think old Sun compiler may be a
problem, but is it supported anyway? I think latest Solaris uses GCC.

Regards,–
Adam Strzelecki | nanoant.com
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL-SVN-autodeps-via-MMD-2.patch
Type: application/octet-stream
Size: 4358 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20091003/11b7427e/attachment.obj

Thanks! I had to split version.rc out for separate handling, but this
worked great!

See ya,On Sat, Oct 3, 2009 at 2:44 PM, Adam Strzelecki wrote:

The dependency files need to have %.lo as the target, not %.o.
Otherwise I can change a dependency and nothing rebuilds.
Also version.rc shouldn’t be built with libtool, it should be built
with WINDRES, as shown in makedep.sh.

Fixed, see attached patch (version #2).

What’s the fallback for compilers that don’t support -MMD? ?Are there
any these days? ?gcc does, icc does… ?

ICC & GCC both support MMD & MT. I think old Sun compiler may be a problem,
but is it supported anyway? I think latest Solaris uses GCC.

Regards,

Adam Strzelecki | nanoant.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

SDL 1.3 should be fully functional on iPhone at the moment. Please
let me know if you’re having any troubles.

You can grab the latest snapshot here:
http://www.libsdl.org/tmp/SDL-1.3.zipOn Sat, Oct 3, 2009 at 2:12 PM, Ken Rogoway wrote:

What is the status of SDL for the iPhone. ?I looked at the posts related to
the Google Summer of Code, but it looks like the guy that was working on the
iPhone port just stopped posting.

I know the commerical version of SDL has iPhone support, but haven’t heard
back yet on the license fees so I thought I would see if there is anything
available in the public version.

Ken Rogoway


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Hello, is there any plan to implement the landscape mode automatically,
without any user insertion of GL_rotate (or equivalent)?
thanks
VittorioOn Sun, Oct 4, 2009 at 5:55 AM, Sam Lantinga wrote:

SDL 1.3 should be fully functional on iPhone at the moment. Please
let me know if you’re having any troubles.

You can grab the latest snapshot here:
http://www.libsdl.org/tmp/SDL-1.3.zip

On Sat, Oct 3, 2009 at 2:12 PM, Ken Rogoway wrote:

What is the status of SDL for the iPhone. I looked at the posts related
to
the Google Summer of Code, but it looks like the guy that was working on
the
iPhone port just stopped posting.

I know the commerical version of SDL has iPhone support, but haven’t
heard
back yet on the license fees so I thought I would see if there is
anything
available in the public version.

Ken Rogoway


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Stephen Leacockhttp://www.brainyquote.com/quotes/authors/s/stephen_leacock.html

  • “I detest life-insurance agents: they always argue that I shall some
    day
    die, which is not so.”

Yes, the plan is to expose both tall and wide modes and internally
rotate the view matrix depending on which is picked. This is not yet
implemented though, so if you want to take a crack at it, patches are
welcome! :slight_smile:

See ya!On Wed, Oct 7, 2009 at 2:14 PM, Vittorio G. <vitto.giova at yahoo.it> wrote:

Hello, is there any plan to implement the landscape mode automatically,
without any user insertion of GL_rotate (or equivalent)?
thanks
Vittorio

On Sun, Oct 4, 2009 at 5:55 AM, Sam Lantinga <@slouken> wrote:

SDL 1.3 should be fully functional on iPhone at the moment. ?Please
let me know if you’re having any troubles.

You can grab the latest snapshot here:
http://www.libsdl.org/tmp/SDL-1.3.zip

On Sat, Oct 3, 2009 at 2:12 PM, Ken Rogoway wrote:

What is the status of SDL for the iPhone. ?I looked at the posts related
to
the Google Summer of Code, but it looks like the guy that was working on
the
iPhone port just stopped posting.

I know the commerical version of SDL has iPhone support, but haven’t
heard
back yet on the license fees so I thought I would see if there is
anything
available in the public version.

Ken Rogoway


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Stephen Leacock ?- “I detest life-insurance agents: they always argue that I
shall some day die, which is not so.”


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Sam,

I see you’ve made a -MMD & -MT testing part of configure which is
great, and shouldn’t make older compilers fail due lack of those
options, but are you sure that:
#if !defined(GNUC) || GNUC < 3
#error Dependency tracking requires GCC 3.0 or newer
#endif

… will be accepted by Intel CC which is AFAIK compatible with -MMD &
-MT but I am not sure whether ICC sets GNUC to any value >= 3.

Is there anybody having ICC can confirm it does set GNUC >= 3?

Regards,–
Adam