Mail Archives: djgpp/1998/10/19/03:58:15
dj,
thanx for the quick response.
it now works, i compiled it all again.
there were some problem:
i had to copy the src and include directories to the
cross directory. it also mixed up the gcc version numbers:
i had 2.7.2.1 as linux compiler and 2.7.2 for dos.
the dos compiler looked in a directory with 2.7.2.1 for some files.
anyway, i sorted it out.
cheers
jens
On Sat, 17 Oct 1998, DJ Delorie wrote:
>
> > ./dos-gcc -v tes.c
> > gcc version 2.7.2
> > cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386
> > cc1 /tmp/cca00249.i -quiet -dumpbase tes.c -version -o /tmp/cca00249.s
> > as -o /tmp/cca002491.o /tmp/cca00249.s
> > ld crt0.o /tmp/cca002491.o -lgcc -lc -lgcc
>
> This shows that it's using the linux native compiler instead of the
> cross compiler, which is usually i586-pc-msdosdjgpp-cpp etc. Did you
> install the compiler before trying to use it? Did you install a
> cross-binutils?
>
>
- Raw text -