Dear folks:
I´m running a Red Hat Linux 8.0 distribution on a i686-pc-compatible. I´ve downloaded de combined gpc-gcc binary package avaliable at www.gnu-pascal.de.
I follow the installation instructions precisely, and everything works well, until I try to compile a source file, where I get the following error:
"gpc installation problem. Cannot exec 'as'. No such file or directory"
Any ideas?
Thanks in advance,
Jorge Balseiro.
Jorge Balseiro López wrote:
"gpc installation problem. Cannot exec 'as'. No such file or directory"
gpc produces assembly files. An assembler 'as' is missing (or can not be found)
[By the way, how does one build an assembler from source code without an assembler present. Nice puzzle].
Regards,
Adriaan
Adriaan van Os wrote:
[By the way, how does one build an assembler from source code without an assembler present. Nice puzzle].
Same for GCC, of course. (Not for GPC, since it requires "only" a C compiler, and once that has been built, GPC cann be compiled normally.)
Answer: you must have a binary to start with -- either one that comes with the system, or a GCC (or whatever) binary from the net. Or you cross-build from another system (that's how GCC is usually ported to new systems, until it can compile itself).
Or you hand-translate your first version. ;-)
Frank
On Fri, 24 Jan 2003, [iso-8859-1] Jorge Balseiro L�pez wrote:
Dear folks:
I�m running a Red Hat Linux 8.0 distribution on a i686-pc-compatible. I�ve downloaded de combined gpc-gcc binary package avaliable at www.gnu-pascal.de.
I follow the installation instructions precisely, and everything works well, until I try to compile a source file, where I get the following error:
"gpc installation problem. Cannot exec 'as'. No such file or directory"
"as" is the assembler. Check your RedHat installation disks for a package of utilities containing it. In slackware, it's "binutils" but you should have something like it.