X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <50DF3B66.8030605@iki.fi> Date: Sat, 29 Dec 2012 20:50:14 +0200 From: Andris Pavenis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: djgpp AT delorie DOT com CC: Maksim Soifer Subject: Re: Assembler messages: Error: junk `@GOT' after expression References: <7c7717e0-4231-46a9-b219-ebf5f4bd3fe6 AT googlegroups DOT com> In-Reply-To: <7c7717e0-4231-46a9-b219-ebf5f4bd3fe6@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com On 12/29/2012 07:20 PM, Maksim Soifer wrote: > c:/progs/dj/tmp/ccWkjb5S.s: Assembler messages: > c:/progs/dj/tmp/ccWkjb5S.s:20: Error: junk `@GOT' after expression > and many like this > > how to trace them and fix? > Did You use GCC command line option -fPIC or -fpic? It is broken for many versions of DJGPP port of GCC. Last update of port of GCC-4.7.2 shold warn that -fPIC is ignored as not supported Andris