On Fri, Sep 17, 2010 at 5:53 PM, Ralph Versteegen <teeem...@gmail.com> wrote:
> On 17 September 2010 19:09, David Gowers <00a...@gmail.com> wrote:
>> On Fri, Sep 17, 2010 at 3:32 PM, Ralph Versteegen <teeem...@gmail.com> wrote:
>>> On 16 September 2010 23:42, David Gowers <00a...@gmail.com> wrote:
>>>> On Thu, Sep 16, 2010 at 8:35 PM, Mike <caron.m...@gmail.com> wrote:
>>>>> IIRC, you need to include -m game while compiling game.bas itself. 
>>>>> Possibly while compiling all modules.
>>>
>>> So far I've only tried it under windows. I got much further than Seth.
>>> I didn't have his problems with svn. "scons env="PATH:%PATH%"" doesn't
>>> work for me; I doubt it's correct. Instead I appended the Environment
>>> constructor call:
>>>
>>> env = Environment (OHRGFX   = env.get('OHRGFX','sdl+fb'),
>>>                   ...
>>>                   ENV = os.environ)
>>
>> This is specifically noted as probably evil and probably not what you
>> want, in the SCons docs;
>> So I specifically imported only the PATH ('PATH = env[path]')
>> (In my fixed ver, which I started working on when I saw Seth's email)
>
> That's not right, it should be:
>                   ENV = {'PATH' : env['PATH']},

Indeed, thanks.
Fixed.

>
>> Well, you have done mainly good fixes, with a few weird happenings.
>>
>> What you did with blit.o appears to be one of the weird things.
>> My original line was definitely not correct, you remedied it to be
>> incorrect in a different way ^_^  Looking at makegame.bat, it's pretty
>> clear that on windows, we want to just link ``win32\blit.o`` and
>> ``win32\base64.o``, rather than compiling object files which we can
>> then link.
>
> I assumed you wanted to compile them.
Oh.
I assumed they could not be readily compiled, and thus were provided
as .o files.
Oops.

> Using prebuilt object files isn't necessarily better; they need to be
> maintained which can mean an annoying reboot into Windows. Eventually
> when the new script interpreter (in C and C++) is merged in, gcc will
> probably become required.
So you suggest just requiring them to be compiled with gcc?
okay, amended SConscript follows (in my next email in reply to Seth)
_______________________________________________
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to