bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible Bug-Report for the GNU ld


From: claudio Gabba
Subject: Possible Bug-Report for the GNU ld
Date: Thu, 1 Feb 2001 12:01:47 -0200

Sao Paulo, February 1st, 2001
 

To the GNU ld development team,
 

Hello, my name is Acyr Persona, I am brazillian and I am currently developing software for
a Motorola MC68k based controller board using  the  GNU  M68k-COFF  package  of  C/C++/ASM
compilers and, _apparently_, I have a bug report for you, as it seems that the LINK EDITOR
is not working as it should. I´ll try to present the problem the most clear way I  can  so
you can tell me what I am doing wrong, or else, what the LINKER is doing wrong. 
 
The "failing" feature is the search path (-L or --library-archive) and  the  link  library
(-l or --library) keywords, once they aren´t working together. Here is the problem:
 
** Software Version **********************************************************************
* GNU ld version cygnus-2.8.1 (with BFD cygnus-2.8.1)
* ^- after running: m68k-coff-ld -v
******************************************************************************************
 
** Technical Information *****************************************************************  
* Machine..........: Intel Pentium Celeron 600MHz
* Memory...........: 64Mb DIMM; 20Gb Hard-Drive
* Operating System.: Microsoft Windows 98 (Using Win32 DOS Prompt Emulator)
******************************************************************************************
 
** Directory Structure *******************************************************************
* -+-[ includes ]-+-[ hardware ]----(libhardware.a)
*  |              |
*  |              +-[ peripherals ]-(libperipherals.a)
*  |              |
*  |              +-[ interface]----(libinterface.a)
*  |              |
*  |              +-[ standard ]--+-(libnew.a)
*  |                              +-(libgcc.a)
*  |
*  +-[ projects ]-+-[testgame] <---- My project files are here. GNU MAKE is run from here.
******************************************************************************************
 
** Command line that GNU MAKE expands when invoking GNU ld *******************************
* m68k-coff-ld -Map link.map --script=lnkram.x -ozero.cof -L../../includes/hardware \
*                                                      -L../../includes/peripherals \
*                                                        -L../../includes/interface \     
*                                                         -L../../includes/standard \     
*     -llibhardware -llibperipherals -llibinterface -llibstandard -llibnew -llibgcc \
*                                                                            zero.o
*
*** OBSSERVATION: I was about to append a copy of lnkram.x, but once it is  a  script  for
*                 the linker to construct the memory map template of  the  controller  and
*                 as I am NOT the author of the file, I thought this might  be  a  problem
**( truncated like that for readability)**************************************************
 
** GNU ld output *************************************************************************
* m68k-coff-ld: cannot open -llibhardware: No such file or directory
******************************************************************************************
 
** Remarks by Acyr Persona ***************************************************************
* >> The error persists when the keywords are changed from  -l  to  --library  and  -L  to
*    --library-path; 
* >> If I run GNU ld with -L../../narf parameter  also,  it  doesn´t  warn  me  that  such 
*    directory does not exist;
* >> GNU Make nor GNU ld are in the projects/testgame/ directory, they are  run  from  the
*    M68K-COFF directory via the environment variable PATH
******************************************************************************************
 
** Closing Words *************************************************************************
* I hope I provided you with enough information to analize the problem, and  I  also  hope 
* that this report is of some use for you
******************************************************************************************
 

                                                           I hope I´ll hear from you soon,
 

                                                                              Acyr Persona

reply via email to

[Prev in Thread] Current Thread [Next in Thread]