GCCARM is below. Error looks like this:
- Code: Select all
$ ./configure --config=GCCARM --no-tests
Configured for GCCARM
$ make Foundation-libexec
make -C /cygdrive/c/poco-1.4.4/Foundation
make[1]: Entering directory `/cygdrive/c/poco-1.4.4/Foundation'
** Compiling src/ArchiveStrategy.cpp (debug, static)
/cygdrive/c/CodeSourcery/SourceryG++Lite/2007q121/bin/arm-none-linux-gnueabi-g++
-Iinclude -I/cygdrive/c/poco-1.4.4/CppUnit/include -I/cygdrive/c/poco-1.4.4/Fo
undation/include -I/cygdrive/c/poco-1.4.4/XML/include -I/cygdrive/c/poco-1.4.4/U
til/include -I/cygdrive/c/poco-1.4.4/Net/include -D
_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONM
ENT -g -D_DEBUG -c src/ArchiveStrategy.cpp -o /cygdrive/c/poco-1.4.4/Foundatio
n/obj/Linux/ARM/debug_static/ArchiveStrategy.o
Assembler messages:
FATAL: can't create /cygdrive/c/poco-1.4.4/Foundation/obj/Linux/ARM/debug_static
/ArchiveStrategy.o: No such file or directory
make[1]: *** [/cygdrive/c/poco-1.4.4/Foundation/obj/Linux/ARM/debug_static/Archi
veStrategy.o] Error 1
make[1]: Leaving directory `/cygdrive/c/poco-1.4.4/Foundation'
make: *** [Foundation-libexec] Error 2
The directories all exist, I've tried tweaking the permissions on them, I've done a make clean and re-run. But the following works on the command line:
- Code: Select all
$ alias g
alias g='/cygdrive/c/CodeSourcery/SourceryG++Lite/2007q121/bin/arm-none-linux-gnueabi-g++ '
$ g -I../include -c Void.cpp -o ./Void.o
$ ls -al Void*
-rw-r--r--+ 1 Lavey None 1761 Sep 19 18:29 Void.cpp
-rwxr-xr-x+ 1 Lavey None 1768 Oct 10 17:04 Void.o
GCCARM looks like this:
- Code: Select all
#
# General Settings
#
LINKMODE = STATIC
POCO_TARGET_OSNAME = Linux
POCO_TARGET_OSARCH = ARM
TOOL = /cygdrive/c/CodeSourcery/SourceryG++Lite/2007q121/bin/arm-none-linux-gnueabi
#
# Define Tools
#
CC = $(TOOL)-gcc
CXX = $(TOOL)-g++
LINK = $(CXX)
STRIP = $(TOOL)-strip
LIB = $(TOOL)-ar -cr
RANLIB = $(TOOL)-ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -Wl,-rpath,$(dir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.gcc
SHELL = /bin/sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p --mode=777
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -Isrc
CFLAGS32 =
CFLAGS64 =
CXXFLAGS =
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -static -L/cygdrive/c/CodeSourcery/SourceryG++Lite/2007q121/lib
SHAREDOPT_CC = -fPIC
SHAREDOPT_CXX = -fPIC
SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE -DPOCO_NO_FPENVIRONMENT
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt
Any help would be much appreciated!
-- Cathy





