Overview
Features
Download
Documentation
Community
Add-Ons & Services

building under cygwin, using windows paths

Please post support and help requests here.

building under cygwin, using windows paths

Postby smclemon » 05 Oct 2009, 18:56

The cross compiler we use expects windows paths (c:/path/to/poco, rather than /c/path/to/poco) but obviously building using the default `./configure -config=MyCompiler && make` results in using UNIX-style paths when building. Has anyone any idea how I can coax my Poco build to supply the compiler\linker\etc with windows-y paths?

- Sean
smclemon
 
Posts: 2
Joined: 05 Oct 2009, 18:50

Re: building under cygwin, using windows paths

Postby guenter » 06 Oct 2009, 10:08

You'll probably need to create a new build configuration based on build/config/CYGWIN and make sure all paths passed to the compiler, linker, etc. are processed by cygpath. This will also require modifying the rule files in build/rules and all other places where paths are processed.
guenter
 
Posts: 1119
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: building under cygwin, using windows paths

Postby smclemon » 08 Oct 2009, 15:34

Hm, I'm not sure where to start with build/rules - I've only just begun with porting this Library. Actually, I wonder if there is a way to ensure that instead of absolute paths we provide relative paths to the tools...
smclemon
 
Posts: 2
Joined: 05 Oct 2009, 18:50

Re: building under cygwin, using windows paths

Postby jWaltz » 13 Oct 2009, 22:57

I'm also having a problem with the cygwin/windowXP environment, although I am building with gcc 3.4. The poco library appeared to build fine and then I built the DateTime sample. When run under GDB I get the following error messages:

(gdb) run
Starting program: /opt/workspace/smallmgc/Debug/smallmgc.exe
gdb: unknown target exception 0xc0000135 at 0x7c9666c6

Program received signal ?, Unknown signal.

Program exited with code 030000000465.
You can't do that without a process to debug.

Any clues as to where I messed up?
jWaltz
 
Posts: 1
Joined: 13 Oct 2009, 22:42


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest