GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #10424

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Adriaan van Os
Subject: gpc 20030830, based on gcc-3.3.2 on OSX: ld error
Date: 28 May 2004, 19:58:41

Grant Jacobs wrote:

> 1. The error indicates (to me) that the compiler thinks its generating 
> an enormous code or that the linker/loader is doing strange things. 
> Its not *that* big! Any ideas? I'm developing this on OSX 10.2.8. (I 
> can't locate a la_symbol_ptr in the source code, btw.)
>
> e.g.
>
> /usr/bin/ld: /usr/lib/crt1.o can't create relocation entry for 
> prebinding (address of section (__DATA,__la_symbol_ptr) more than 
> 24-bits away from first segment, use -noprebind)

Well, did you try to disable prebinding by passing "-Wl,-noprebind" on 
the command line ? What if you pass "-Wl,-prebind_allow_overlap" or 
"-Wl,-prebind_all_twolevel_modules" or 
"-Wl,-noprebind_all_twolevel_modules" ? Are you, by the way, linking 
with dynamic libraries ?

> 2. I've been warned about using underscores at the end of identifiers. 
> Obviously I can rename them, but there is a reason for this naming. 
> Does this really do any harm? I can understand issues with underscores 
> at the start of identifiers, but at the end?

Just pass "-Wno-underscore".

Regards,

Adriaan van Os

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Grant Jacobs gpc 20030830, based on gcc-3.3.2 on OSX: ld error 29 May 2004, 09:01:59
The Chief GPC Warnings -(was Re: gpc 20030830, based on gcc-3.3.2 on OSX: ld error) 28 May 2004, 22:31:37

In reply to

Author Subject Date
Grant Jacobs gpc 20030830, based on gcc-3.3.2 on OSX: ld error 28 May 2004, 15:38:35

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).