Hi Dennis, You don't need to call the linker directly, you can do that through SDCC. For setting the XRAM size see --xram-size in the SDCC manual.
Maarten > Hi, > > I am a newbie to this list and the SDCC compiler. I'm using Silicon Labs > IDE. > > I am converting a Keil C51 project which has been generating functional > code > to instead use the SDCC compiler and SDLD linker. [I don't have the Keil > compiler.] > > This is for an Silicon Labs C8051F580 device. > I'm using: > SDCC: mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 3.0.0 #6037 > (Oct 31 2010) (MINGW32) > > I have been able to get all 15 source modules and their include files to > compile > and generate .rel files, but I don't seem to have the right secret sauce > for > the linker. > > The old Keil linker switches were: "RS(256) PL(68) PW(78) IX XD(0-1FFFF)" > Where: > RS ---> RamSize = 256 bytes > PL ---> Map PageLength = 68 > PW ---> Map PageWidth = 78 > IX ---> Enables Cross-reference details in listing files. > XD ---> External Ram = 0 to 0x1FFF > > Can any tell me what the equivalent sdld linker switches might be? > > I have not been able to locate much in the way of documentation for this > linker... any pointers to sdld linker docs? > > Dennis ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
