bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #6802] -fgnu-runtime should not be passed to files listed in C_FIL


From: Nicola Pero
Subject: [bugs #6802] -fgnu-runtime should not be passed to files listed in C_FILES
Date: Wed, 26 Nov 2003 19:14:27 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #6802] Latest Modifications:

Changes by: 
                Nicola Pero <n.pero@mi.flashnet.it>
'Date: 
                Thu 11/27/2003 at 00:14 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | nico


------------------ Additional Follow-up Comments ----------------------------
I can not reproduce this.  Here is how to tried to -



include $(GNUSTEP_MAKEFILES)/common.make



TOOL_NAME = Prova

Prova_C_FILES = main.c



include $(GNUSTEP_MAKEFILES)/tool.make



where main.c is -



int main (void)

{

  return 0;

}



and compilation is fine without -fgnu-runtime and without

-fconstant-string-class=:



nicola@didone:~/ObjCFlags$ make messages=yes

Making all for tool Prova...

cd .; 

/opt/gnustep/System/Library/Makefiles/mkinstalldirs 
./shared_obj/ix86/linux-gnu/gnu-gnu-gnu; 

rm -f obj; 

ln -s ./shared_obj/ix86/linux-gnu/gnu-gnu-gnu obj

gcc main.c -c 

      -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 
-DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -DGSWARN -DGSDIAGNOSE -O2 -I. 
-I/home/nicola/GNUstep/Library/Headers/gnu-gnu-gnu/gnustep 
-I/opt/gnustep/Local/Library/Headers/gnu-gnu-gnu/gnustep 
-I/opt/gnustep/Network/Library/Headers/gnu-gnu-gnu/gnustep 
-I/opt/gnustep/System/Library/Headers/gnu-gnu-gnu/gnustep 
-I/home/nicola/GNUstep/Library/Headers/gnu-gnu-gnu/ix86/linux-gnu 
-I/home/nicola/GNUstep/Library/Headers/gnu-gnu-gnu 
-I/opt/gnustep/Local/Library/Headers/gnu-gnu-gnu/ix86/linux-gnu 
-I/opt/gnustep/Local/Library/Headers/gnu-gnu-gnu 
-I/opt/gnustep/Network/Library/Headers/gnu-gnu-gnu/ix86/linux-gnu 
-I/opt/gnustep/Network/Library/Headers/gnu-gnu-gnu 
-I/opt/gnustep/System/Library/Headers/gnu-gnu-gnu/ix86/linux-gnu 
-I/opt/gnustep/System/Library/Headers/gnu-gnu-gnu 

       -o shared_obj/ix86/linux-gnu/gnu-gnu-gnu/main.o

gcc  -rdynamic       -o shared_obj/ix86/linux-gnu/gnu-gnu-gnu/Prova 

        ./shared_obj/ix86/linux-gnu/gnu-gnu-gnu/main.o 

         -L/home/nicola/GNUstep/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/home/nicola/GNUstep/Library/Libraries/ix86/linux-gnu 
-L/opt/gnustep/Local/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/opt/gnustep/Local/Library/Libraries/ix86/linux-gnu 
-L/opt/gnustep/Network/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/opt/gnustep/Network/Library/Libraries/ix86/linux-gnu 
-L/opt/gnustep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/opt/gnustep/System/Library/Libraries/ix86/linux-gnu -lgnustep-base -lpthread 
-lobjc -lm



If you can provide more information on how to reproduce

the bug, I would be grateful.  Are you using an old version

of gnustep-make ?






/**************************************************************************/
[bugs #6802] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=6802>
Project: GNUstep
Submitted by: 0
On: Wed 11/26/2003 at 22:26

Category:  Makefiles
Severity:  5 - Average
Item Group:  Bug
Resolution:  None
Assigned to:  nico
Status:  Open


Summary:  -fgnu-runtime should not be passed to files listed in C_FILES

Original Submission:  Files listed in ProjectName_C_FILES in GNUmakefiles are 
currently issuing this:

cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++

cc1: warning: "-fconstant-string-class=" is valid for ObjC but not for C/C++

Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 11/27/2003 at 00:14       By: nico
I can not reproduce this.  Here is how to tried to -



include $(GNUSTEP_MAKEFILES)/common.make



TOOL_NAME = Prova

Prova_C_FILES = main.c



include $(GNUSTEP_MAKEFILES)/tool.make



where main.c is -



int main (void)

{

  return 0;

}



and compilation is fine without -fgnu-runtime and without

-fconstant-string-class=:



nicola@didone:~/ObjCFlags$ make messages=yes

Making all for tool Prova...

cd .; 

/opt/gnustep/System/Library/Makefiles/mkinstalldirs 
./shared_obj/ix86/linux-gnu/gnu-gnu-gnu; 

rm -f obj; 

ln -s ./shared_obj/ix86/linux-gnu/gnu-gnu-gnu obj

gcc main.c -c 

      -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 
-DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -DGSWARN -DGSDIAGNOSE -O2 -I. 
-I/home/nicola/GNUstep/Library/Headers/gnu-gnu-gnu/gnustep 
-I/opt/gnustep/Local/Library/Headers/gnu-gnu-gnu/gnustep 
-I/opt/gnustep/Network/Library/Headers/gnu-gnu-gnu/gnustep 
-I/opt/gnustep/System/Library/Headers/gnu-gnu-gnu/gnustep 
-I/home/nicola/GNUstep/Library/Headers/gnu-gnu-gnu/ix86/linux-gnu 
-I/home/nicola/GNUstep/Library/Headers/gnu-gnu-gnu 
-I/opt/gnustep/Local/Library/Headers/gnu-gnu-gnu/ix86/linux-gnu 
-I/opt/gnustep/Local/Library/Headers/gnu-gnu-gnu 
-I/opt/gnustep/Network/Library/Headers/gnu-gnu-gnu/ix86/linux-gnu 
-I/opt/gnustep/Network/Library/Headers/gnu-gnu-gnu 
-I/opt/gnustep/System/Library/Headers/gnu-gnu-gnu/ix86/linux-gnu 
-I/opt/gnustep/System/Library/Headers/gnu-gnu-gnu 

       -o shared_obj/ix86/linux-gnu/gnu-gnu-gnu/main.o

gcc  -rdynamic       -o shared_obj/ix86/linux-gnu/gnu-gnu-gnu/Prova 

        ./shared_obj/ix86/linux-gnu/gnu-gnu-gnu/main.o 

         -L/home/nicola/GNUstep/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/home/nicola/GNUstep/Library/Libraries/ix86/linux-gnu 
-L/opt/gnustep/Local/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/opt/gnustep/Local/Library/Libraries/ix86/linux-gnu 
-L/opt/gnustep/Network/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/opt/gnustep/Network/Library/Libraries/ix86/linux-gnu 
-L/opt/gnustep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
-L/opt/gnustep/System/Library/Libraries/ix86/linux-gnu -lgnustep-base -lpthread 
-lobjc -lm



If you can provide more information on how to reproduce

the bug, I would be grateful.  Are you using an old version

of gnustep-make ?












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=6802>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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