Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Grant Jacobs
Subject: gpc 20030830, based on gcc-3.3.2 on OSX: ld error
Date: 29 May 2004, 09:01:59
At 7:58 PM +0200 28/5/04, Adriaan van Os wrote: >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 ? Thanks for that. I vaguely recalled you writing something about some options to do with prebinding but I couldn't find any message with 'prebind' in my archive of gpc posts. Is this documented somewhere btw? Its not in gpc's PDF help file. I'm not linking any libraries explicitly (yet); any ones that gpc are linking in are done whatever way it does them... >>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". Ta, missed that one when scanning the options. Grant
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Adriaan van Os | gpc 20030830, based on gcc-3.3.2 on OSX: ld error | 28 May 2004, 19:58:41 |
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).