Hello,
I am trying to cross compile ax.25 0.0.11 library
to the m68k-elf format to be used on an uClinux
Arcturus uCdimm platform, the goal being to create
the uCdimm version of kissattach program.
To start with I changed the CC macro in the
Makefile to
"mk68-elf-gcc" and tried to compile :
m68k-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.
-DAX25_SYSCONFDIR=\"/etc/ax25/\"
-DAX25_LOCALSTATEDIR=\"/var/ax25/\" -g -O2 -Wall -c
axconfig.c -MT axconfig.lo -MD -MP -MF
.deps/axconfig.TPlo
-fPIC -DPIC -o .libs/axconfig.lo
m68k-elf-gcc: cannot specify -o with -c or -S and
multiple compilations
Is there a way to get around this error?
I was also wondering what the -MD, -MP, -MF flags are
and
how the compilation makes use of the .Plo and .TPlo
files.
This is my first time working on such a
large source directory. I would be thankful if an
expert could provide some information about the
compilation process of the library. Please help.
Thanks,
Sriram
sourceforgenet userid: swenggsri
emailid: swenggsri@yahoo.com