hello, my name is Mikael Monteil and i a new user of DSP 21065l and i don't understand the ldf file. i make my own ldf file but i can't include the 060_hdr.doj file, the linker tell me the symbol '_main' cuold not be resolved. however, in the adsp documentation, they say this file his a standard initialization file. my questions follow: can i make a ldf without this 060_hdr.doj file or it is an error ? could you explain me how function the ldf and the SECTIONS in particular ? i thank you very much best regards ___________________________________________________________ |
|
problem with ldf
Started by ●May 4, 2000
Reply by ●May 4, 20002000-05-04
> i make my own ldf file but i can't include the > 060_hdr.doj file, the linker tell me the symbol > '_main' cuold not be resolved. however, in the adsp > documentation, they say this file his a standard > initialization file. kindly look into the LDF file for the $LIBRARIES symbol. That should have libc.dlb file in it as given below: $LIBRARIES = lib060.dlb, libc.dlb, libio32.dlb; (The 060_hdr.doj is in .\Programfiles\visualdsp\21k\lib.) Try this modification to the $LIBRARIES and check it out. > > my questions follow: > > can i make a ldf without this 060_hdr.doj file or it > is an error ? > U must use the 060_hdr.doj with the ldf file. It is a header file for the linker. so u need to use it. First check out with the above modification and get bac if there are any modification > could you explain me how >function the ldf and the > SECTIONS in particular ? The descriptions for this are given beautifully in the linker chapter in the DOCS directory the VISUALDSP directory. Kindly read that and get back if there are any problems regards sundi... |
Reply by ●May 4, 20002000-05-04
mikael monteil wrote: > hello, > > my name is Mikael Monteil and i a new user of DSP > 21065l and i don't understand the ldf file. > > i make my own ldf file but i can't include the > 060_hdr.doj file, the linker tell me the symbol > '_main' cuold not be resolved. however, in the adsp > documentation, they say this file his a standard > initialization file. > > my questions follow: > can i make a ldf without this 060_hdr.doj file or it > is an error ? you do not need this file when you are writing pure assembler programs. you only need it when you are using C. Michael -- /* */ |