This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.x:ld linker error with *.o files
On 2010-09-12 22:19Z, matthew caswell wrote:
>
> $ nasm -f aout mckern_start.asm -o mcks.o
^^^^^^^
Try -f win32
or -f gnuwin32
http://sourceware.org/ml/cygwin/2010-07/msg00259.html
> $ gcc -c mckern.c -o mckern.o
>
> But when I run the linker with my link.ld file:
> $ ld -T link.ld -o mckern.bin mcks.o mckern.o
> mcks.o: file not recognized: File format not recognized
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple