Re: Compiling GPC on Msys

Waldek Hebisch <[email protected]>
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Kevan Hashemi wrote:
> 
> I'm trying to compile GPC from sources on Msys, within mingw on 32-bit 
> Windows 7. Is this possible? The gcc-3.4.6/configure appears to work. It 
> patches the GCC 3.4.6 for Pascal. I run the makefile, which proceeds for 
> a while, with warnings like this:
> 
> warning: structure 'reg_info_def' used but not defined
> 
> Then the compile then fails with:
> 
> cc1.exe: error: min-insn-modes.c: Invalid argument
> 
> If any of this is familiar, or if I'm missing something obvious, please 
> let me know.

Note that this is failure of gcc to compile one of its files.  IME
main source of failures compiling gpc are actually failures
compiling gcc.  So the first thing to try is compiling gcc-3.4.6
_without_ gpc.  If failure persist, then ask Mysys/mingw folks
what patches are needed to compile gcc.  Unfortunatly, Mysys/mingw
folks distribute binaries but freqently forget to provide
patches and description of tweaks they did to have succesful
compilation.

-- 
                              Waldek Hebisch
[email protected] 

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.