Re: [NTLK] Towards DCL 1.1 : NES Packager for Unix

From: Hendrik Lipka (hendrik.lipka_at_gmx.de)
Date: Thu Apr 22 2004 - 06:01:03 PDT


Thursday, April 22, 2004, 1:29:46 PM, you wrote:

> changing what you did in the Jamfile to handle Cygwin and add
> -DTARGET_OS_CYGWIN=1 instead of TARGET_OS_WINDOWS. Feel free to make

done.

> This should eliminate most compilation errors you had (I noticed the
> compilers often give a lot of errors if the target properly was not
> defined properly, because the maths classes are loaded to handle 64
> bits numerics).

my test commandline-build gets better, but still doesn't work (something
with snprintf/sprintf missing)

> The problem you have is what I was scared about with Jam on cygwin.
> The paths in the Jamfile are in Unix form, e.g.:

> KLIBS_BASE = "../../../K Libs/" ;

> I think Jam on cygwin might not like them. Did you try specifying
> full paths there? I mean this as a temporary solution, of course.

I have tested both relative and absolute paths here. both don't work - Jam
seems to remove some part of it :(
I'm still not sure what the real problem is: Jam prints a command line, but
gcc seems to get something wrong with the filename of the .cp file (it
removes the first 2 chars). But executing the ame commandline from the
prompt works.

> Additionally, I wonder why you did rename all C++ file to *.cc. The

This was done not because of jam, but because IMHO gcc wants .cc as
extension for C++ files

> Which version of Jam have you installed?

HAS_C99_SNPRINTF

> I'm sorry I cannot help further, I don't have access to a Win32 machine.

hli

-- 
Møøse trained to mix concrete and                                 Hendrik Lipka
sign complicated insurance forms                           hendrik.lipka_at_gmx.de
                                                            www.hendriklipka.de
-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/


This archive was generated by hypermail 2.1.5 : Thu Apr 22 2004 - 06:30:02 PDT