Synopsis - Issue Tracker

Bug119 Editing

Title synopsis-0.9: Scratch build fails due to Makefile/GC_LIB configuration problem
Created on 2006-12-21.11:37:33 by anonymous, last changed 2007-02-15.20:43:44 by stefan.
assigned to stefan priority normal
type severity normal
components build system platform Windows
status closed resolution fixed
depends on superseded by
Add Comment:
File
CC List:? anonymous, stefan

Messages
Author: anonymous Date: 2006-12-21.11:37:32
PLATFORM: Cygwin, ...
FILE: src/Makefile.in -> build/.../src/Makefile
PRECONDITION: Garbage Collector gc not installed
PRECONDITION: CXXFLAGS contains no "-fPIC" option

In this case, the CPP include path to the contributed gc under "src/Synopsis/gc" is missing. Therefore, build fails with include errors (gc_cpp.h) and compile errors.

WORK-AROUNDS:
1. QUICKFIX: Move GC_LIB statement out of "ifneq ..." 
   -> Always defined (PROBLEM: When GC is externally defined???).
2. Build GC first and install it. 
   Afterwards Synopsis can be built without any problems.
Author: stefan Date: 2006-12-21.12:35:19
I wonder why this fails, as the -fPIC flag is added only if the outer configure sets
it for Synopsis' own targets (the whole point was not to have to mess with gc's build
system myself). Does this mean 'g++ -fPIC synopsis_code.cc' works but 'gcc -fPIC gc_code.cpp'
does not ?
Author: stefan Date: 2007-02-15.20:43:43
It appears this was actually a typo
(the definition of GC_LIB shouldn't be
part of the conditional block).
History
Date User Action Args
2006-12-21 11:37:35anonymouscreate
2006-12-21 12:35:19stefansetmessages: + msg595
2007-02-15 20:43:47stefansetstatus: new
assignedto: (no value)
resolution: (no value)
messages: + msg613
nosy: + stefan