This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: The continuing saga: building Xemacs-21.5--i686-pc-Cygwin: PART IV


At 8/17/01 02:25 PM (Friday), Charles Wilson wrote:
>For the 437th time, please run this command (notice the --verbose at the 
>end).  This will cause ld to dump out a list every every filename it 
>searched for to satisfy the library dependencies, and will indicate which 
>one it chose to use for each -lfoo.

Not trying to be deliberately obtuse!  I thought having "-v" on $LDFLAGS 
would do the trick.  It would still be nice if some environment variable or 
make option would do!

Anyway, this is what I got.  Not at all what I expected!  If collect2.exe 
is being called from inside gcc, is there some environment item that isn't 
known here that's causing things to be unseen?

++++BEGIN++++
+ /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/collect2.exe --subsystem windows 
-Bdynamic --dll-search-prefix=cyg -o temacs.exe /usr/lib/crt0.o 
-L/usr/lib/noX -L/usr/local/lib -L/usr/lib -L/usr/lib/w32api 
-L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 -v abbrev.o alloc.o blocktype.o 
buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o 
cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o 
doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o debug.o 
tests.o filelock.o ntplay.o unexcw.o scrollbar-msw.o menubar-msw.o 
toolbar-msw.o dialog-msw.o console-msw.o device-msw.o event-msw.o 
frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o 
gui-msw.o postgresql.o dgif_lib.o gif_io.o menubar.o scrollbar.o dialog.o 
toolbar.o file-coding.o realpath.o getloadavg.o inline.o console-tty.o 
device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o 
terminfo.o event-unixoid.o database.o sysdll.o emodules.o process-unix.o 
event-stream.o extents.o faces.o fileio.o filemode.o floatfns.o fns.o 
font-lock.o frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o 
gui.o gutter.o hash.o imgproc.o indent.o insdel.o intl.o keymap.o 
line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o 
opaque.o print.o process.o profile.o rangetab.o redisplay.o 
redisplay-output.o regex.o search.o select.o sheap.o signal.o sound.o 
specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o widget.o window.o 
win32.o xemacs_res.o lastfile.o gmalloc.o free-hook.o vm-limit.o -ltiff 
-lpng -ljpeg -lz -lXpm -lgdbm -lncurses -lpq -lwinmm -lshell32 -lgdi32 
-luser32 -lcomdlg32 -lcomctl32 -lwinspool -lgcc -lcygwin -lgdi32 -lcomdlg32 
-luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc --verbose
collect2 version 2.95.3-5 (cygwin special) (80386, BSD syntax)
/usr/i686-pc-Cygwin/bin/ld --subsystem windows -Bdynamic 
--dll-search-prefix=cyg -o temacs.exe /usr/lib/crt0.o -L/usr/lib/noX 
-L/usr/local/lib -L/usr/lib -L/usr/lib/w32api 
-L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 -v abbrev.o alloc.o blocktype.o 
buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o 
cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o 
doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o debug.o 
tests.o filelock.o ntplay.o unexcw.o scrollbar-msw.o menubar-msw.o 
toolbar-msw.o dialog-msw.o console-msw.o device-msw.o event-msw.o 
frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o 
gui-msw.o postgresql.o dgif_lib.o gif_io.o menubar.o scrollbar.o dialog.o 
toolbar.o file-coding.o realpath.o getloadavg.o inline.o console-tty.o 
device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o 
terminfo.o event-unixoid.o database.o sysdll.o emodules.o process-unix.o 
event-stream.o extents.o faces.o fileio.o filemode.o floatfns.o fns.o 
font-lock.o frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o 
gui.o gutter.o hash.o imgproc.o indent.o insdel.o intl.o keymap.o 
line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o 
opaque.o print.o process.o profile.o rangetab.o redisplay.o 
redisplay-output.o regex.o search.o select.o sheap.o signal.o sound.o 
specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o widget.o window.o 
win32.o xemacs_res.o lastfile.o gmalloc.o free-hook.o vm-limit.o -ltiff 
-lpng -ljpeg -lz -lXpm -lgdbm -lncurses -lpq -lwinmm -lshell32 -lgdi32 
-luser32 -lcomdlg32 -lcomctl32 -lwinspool -lgcc -lcygwin -lgdi32 -lcomdlg32 
-luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc --verbose
GNU ld version 2.11.90 (with BFD 2.11.90)
GNU ld version 2.11.90 (with BFD 2.11.90)
   Supported emulations:
    i386pe
using internal linker script:
==================================================
OUTPUT_FORMAT(pei-i386)
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/lib); 
SEARCH_DIR(/usr/lib/w32api); SEARCH_DIR(/usr/local/lib); 
SEARCH_DIR(/usr/i686-pc-cygwin/lib);
ENTRY(_mainCRTStartup)
SECTIONS
{
   .text  __image_base__ + __section_alignment__  :
   {
      *(.init)
     *(.text)
     *(SORT(.text$*))
     *(.glue_7t)
     *(.glue_7)
      ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
                         LONG (-1); *(.ctors); *(.ctor); LONG (0);
      ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
                         LONG (-1); *(.dtors); *(.dtor);  LONG (0);
      *(.fini)
     /* ??? Why is .gcc_exc here?  */
      *(.gcc_exc)
      etext = .;
     *(.gcc_except_table)
   }
   /* The Cygwin32 library uses a section to avoid copying certain data
      on fork.  This used to be named ".data".  The linker used
      to include this between __data_start__ and __data_end__, but that
      breaks building the cygwin32 dll.  Instead, we name the section
      ".data_cygwin_nocopy" and explictly include it after __data_end__. */
   .data BLOCK(__section_alignment__) :
   {
     __data_start__ = . ;
     *(.data)
     *(.data2)
     *(SORT(.data$*))
     __data_end__ = . ;
     *(.data_cygwin_nocopy)
   }
   .rdata BLOCK(__section_alignment__) :
   {
     *(.rdata)
     *(SORT(.rdata$*))
     *(.eh_frame)
   }
   .pdata BLOCK(__section_alignment__) :
   {
     *(.pdata)
   }
   .bss BLOCK(__section_alignment__) :
   {
     __bss_start__ = . ;
     *(.bss)
     *(COMMON)
     __bss_end__ = . ;
   }
   .edata BLOCK(__section_alignment__) :
   {
     *(.edata)
   }
   /DISCARD/ :
   {
     *(.debug$S)
     *(.debug$T)
     *(.debug$F)
     *(.drectve)
   }
   .idata BLOCK(__section_alignment__) :
   {
     /* This cannot currently be handled with grouped sections.
         See pe.em:sort_sections.  */
     SORT(*)(.idata$2)
     SORT(*)(.idata$3)
     /* These zeroes mark the end of the import list.  */
     LONG (0); L/usr/i686-pc-Cygwin/bin/ld: cannot open abbrev.o: No such 
file or directory
ONG (0); LONG (0); LONG (0); LONG (0);
     SORT(*)(.idata$4)
     SORT(*)(.idata$5)
     SORT(*)(.idata$6)
     SORT(*)(.idata$7)
   }
   .CRT BLOCK(__section_alignment__) :
   {
     *(SORT(.CRT$*))
   }
   .endjunk BLOCK(__section_alignment__) :
   {
     /* end is deprecated, don't use it */
      end = .;
      _end = .;
      __end__ = .;
   }
   .rsrc BLOCK(__section_alignment__) :
   {
     *(.rsrc)
     *(SORT(.rsrc$*))
   }
   .reloc BLOCK(__section_alignment__) :
   {
     *(.reloc)
   }
   .stab BLOCK(__section_alignment__) (NOLOAD) :
   {
     [ .stab ]
   }
   .stabstr BLOCK(__section_alignment__) (NOLOAD) :
   {
     [ .stabstr ]
   }
}

==================================================
attempt to open /usr/lib/crt0.o succeeded
/usr/lib/crt0.o
attempt to open abbrev.o failed
collect2: ld returned 1 exit status
---END---




David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy.
Get my PGP key at
:<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=superbiskit>
Fingerprint=0x{6E3E_DB8C_2E8C_4248_62B2_FE29_08EE_CF0A_3629_E954}
:<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=superbiskit&fingerprint=on>
"By God's Grace I am a Christian man, by my actions a great sinner."
--The Way of a Pilgrim, R. M. French [tr.]
Potentially Viral Software is any software for which you are not allowed
to examine the source.  Do not buy or use Potentially Viral Software!
<---.----!----.----!----.----!----.----!----.----!----.----!----.---->


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]