This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symbol not present in a.out


/* And here's an instance of the class just to make the code run*/
static my_init_class my_init CYGBLD_ATTRIB_INIT_AFTER(CYG_INIT_LIBC);
is this definition part of init.cc ??
try moving it to the file that contains cyg_start, or some other function, that you know for sure gets linked in your final executable.


When I link libtarget.a to my hello world application and get an a.out, I
don't see this symbol in a.out. i386-elf-nm a.out | grep my_init does not
return anything. Any clues?

-- regards sandeep -------------------------------------------------------------------------- Speak softly and carry a +6 two-handed sword. --------------------------------------------------------------------------


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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