Page 1 of 1

SDK and SDL installation broken?

Posted: Sun Jan 06, 2013 5:30 pm
by Reth
Hi everybody and a very happy new year!

Currently I'm struggling with my SDK and SDL installations while trying to port some source (from Gigalomania).
First thing: Inside makefile there is following embedded command when calling g++: `sdl-config --libs`.
When trying to run make from Amiga Shell (or from within Codebench) it states that it cannot find command sdl-config.
Well it is right since the paths where sdl-config resides (here inside: SDK:bin as well as inside SDK:local/newlib/bin and SDK:local/clibs2/bin) are not part of the DOS path.
I checked SDL installation files there is nothing mentioned where appropriate path extensions are done.

But as soon as I start a sh I can flawlessly run sdl-config from there so it is part of the search path for sh environment which can be seen by just entering env:
...
PATH=.../gcc/bin:/SDK/C:/SDK/Local/C:/SDK/Local/newlib/bin:/SDK/Local/clib2/bin:/...
...

Now question is: Is this a correct setting or is my SDK installation broken/messed up? Or do I just need to extend my Amiga Shell paths by the parts existent in sh-path but not in Amiga-Shell path?

If there are additional information necessary please let me know, I can post it here!

Many thanks in advance and

Best Regards

Re: SDK and SDL installation broken?

Posted: Sun Jan 06, 2013 10:02 pm
by Thematic
There does not need to be anything wrong. You should use gmake for any work where non-native paths are encountered during building.

Re: SDK and SDL installation broken?

Posted: Thu Jan 17, 2013 10:16 pm
by Reth
Thanks! Using gmake was a really helpful hint!