delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/08/23/05:13:47

Organization: Ecole Nationale Superieure des Telecommunications, Paris
Date: Mon, 23 Aug 93 10:31:12 +0200
From: David Powers <powers AT inf DOT enst DOT fr>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: ld flags not understood
Cc: powers AT inf DOT enst DOT fr

Any idea why the following (whether direct from the commandline or from 
an @file) might not work anymore.

ld -N -A c:../sp -T 561000 -e _sp_main_1 -o /tmp/xxx /tmp/a.o b.o -lpc ...

(Removing the -T xxxx causes it to complain about the -A - it seems to scan
the arguments backwards).

It worked before I upgraded from GO32 1.05/6 to 1.10 (GCC 1.X to 2.1) it works
under Unix.

This is part of dynamic linking with SICStus prolog.  I doubt that that was
compiled with GCC 2 though.  (I haven't got the disk space to compile it
myself, I had trouble even making enough swap space for the system call, and
ended up swapping to a compressed RAMDISK.)  Are GCC 1 and 2 compatible at link
level?

Thanks in advance for any help.

David Powers

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019