From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e1d00d1219dd9e35 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2004-02-19 07:03:24 PST From: Juhana Paavola Newsgroups: comp.os.linux.alpha Subject: Re: Redhat linux -> ecoff binaries? Date: Thu, 19 Feb 2004 14:03:56 +0000 (UTC) Organization: Oulu Polytechnic, Computing Centre Message-ID: References: NNTP-Posting-Host: ruutana.ratol.fi X-Trace: news.oamk.fi 1077199436 11731 ::ffff:193.167.144.11 (19 Feb 2004 14:03:56 GMT) X-Complaints-To: usenet@news.oamk.fi NNTP-Posting-Date: Thu, 19 Feb 2004 14:03:56 +0000 (UTC) User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.7 (sun4u)) Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uninett.no!uio.no!newsfeed1.funet.fi!newsfeeds.funet.fi!news.cc.tut.fi!news.dnainternet.net!news.kv9.net!news.kv9.net!news.suomi.net!news.oamk.fi!not-for-mail Xref: archiver1.google.com comp.os.linux.alpha:503 Peter Sassone wrote: > Now, I did find the following: > www.kernel.org/pub/linux/libs/klibc/cvsroot/klibc/arch/alpha/crt0.S,v > Which does compile into a crt0.o file, but it gives funky "multiple > definition of main" and "relocation trucated" errors when I use it to link, > so I don't think its the right crt0. What about compiling with -fpic ? I recently bumped to relocation errors and founded that -fpic resolved my problems. Maybe it could resolve yours too.