Hallo,
I've a problem with GPC now:
1. /usr/bin/gpc foobar.pas -o foobar foobar.pas:3: error: module/unit interface `GPC' could not be imported
2. /usr/bin/gpc --unit-path=/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/units foobar.pas -o foobar foobar.pas:3: error: module/unit interface `GPC' could not be imported
Since I'm new to the GPC world, I have no idea where to look no, any hint is appreciated.
$ gpc -v Reading specs from /bin/../lib/gcc-lib/i686-pc-cygwin/3.3.1/specs Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with-gnu-as --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/sbin --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --disable-win32-registry --enable-java-gc=boehm --disable-hash-synchronization --verbose --target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin Thread model: posix gpc version 20030830, based on gcc-3.3.1 (cygming special)
Gerrit
Hallo Adriaan,
Am Sonntag, 26. Oktober 2003 um 13:35 schriebst du:
Gerrit P. Haase wrote:
/usr/bin/gpc foobar.pas -o foobar foobar.pas:3: error: module/unit interface `GPC' could not be imported
It's the "classic" gpc question, specify --automake.
So my self compiled Pascal compiler isn't broken? Is there some possibility to make this switch the default? Why isn't that in the FAQ (or 'Quickstart')?
Regards, Gerrit