This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc-m68k Beta 7 Question



In my search for performance I'm trying out the new beta 7 of gcc-m68k
and I'm getting this error when trying to link my project:

My target is a Motorola 5206e (Sitting on a MCF5206eLITE board)

This is my call to do the link:
@m68k-elf-gcc -m5200 -mmac -mhwdiv -Tsbc5206elite.ld -Wl,-Map=grobot.map
-Wl,-s -Wl,-n -o grobot.s19 lzio.o lvm.o lundump.o ltm.o ltable.o
lstring.o lstate.o lparser.o lobject.o lmem.o llex.o lgc.o lfunc.o ldo.o
lbuiltin.o lbuffer.o lapi.o lauxlib.o linit.o ldblib.o liolib.o
lmathlib.o lstrlib.o lua.o uart.o

and this is the output I'm getting:

/gcc-m68k/m68k-elf/lib/m5200/mhwdiv/libc.a(linkr.o): In function
`_link_r':
/source/gcc-2.95.2/newlib/libc/reent/linkr.c:61: undefined reference to
`link'
collect2: ld returned 1 exit status

What do I need to add to my link, I do not have anything in my source
that call or refences anything that looks like 'link' ?

Any suggestions ?

/Erik

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]