This is the mail archive of the crossgcc@sources.redhat.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] |
Hi all, I'm using gcc-2.95.5 configured as a cross-compiler for the hitachi H8/300H cpu core. I'm using mandrake-7.0. I want to use h8300-hms-gcc to generate code for my own system. However, what does gcc use for a linker script? I need to tell gcc about my eprom memory map etc. I could get gcc to use my own script using -Wl,T<myscript>, but i'll still get linker errors because the output section names need to be compatible with the supplied crt0 start-up file. I can't use my own startup file, because the standard C libraries refer to symbols such as _end in crt0.o. So what is the 'normal' procedure for configuring a cross-gcc to custom hardware? Also, in my install, i have these linker scripts: /usr/local/h8300-hms/lib/ldscripts/h8300h.x h8300h.xbn h8300h.xn h8300h.xr h8300h.xu I don't know if gcc knows about these or not. -- ******************************************* * Russell Shaw, B.Eng, M.Eng(Research) * * email: russell@webaxs.net * * Australia * ******************************************* ------ 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] |