Compiling for Shared Libraries

trevor trevor-b at
Wed Feb 5 23:13:00 CET 2014

On 05/02/14 20:11, Kevan Hashemi wrote:
> Is there an easier way to add a compiler option to the build process, 
> other than editing the Makefile produced by the GCC_3.4.6 configure 
> script? (For example, can I pass a compiler option into the configure 
> script or into the makefile.)


make CFLAGS = -g -O2 -fPIC  pascal.install-with-gcc

Is your version of bison later than 2.3?
For me, later versions of bison produce errors on the unmodified 
gpc-20070904 sources.
I've attached a patch taken from here ---> to fix this.

(contributor, gpc rpms on openSuSE build service)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpc-fix_bison.patch
Type: text/x-patch
Size: 1247 bytes
Desc: not available
URL: <>

More information about the Gpc mailing list