Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] CDT 2.1 RC 4: managed make problem


Leo,
I don't remember explicitly changing it. It's a mistake to add in a comma either way, so it should be fixed. The real problem with the option is that it doesn't do the right thing for flags that have args. So, if the argument is <flag> <arg1>, it should generate Xlinker <flag> Xlinker <arg1>. We have an open bug on that problem.

Sean Evoy
Rational Software - IBM Software Group
Ottawa, Ontario, Canada



"Treggiari, Leo" <leo.treggiari@xxxxxxxxx>
Sent by: cdt-dev-admin@xxxxxxxxxxx

12/03/2004 02:33 PM

Please respond to
cdt-dev

To
<cdt-dev@xxxxxxxxxxx>
cc
Sean Evoy/Ottawa/IBM@IBMCA
Subject
RE: [cdt-dev] CDT 2.1 RC 4: managed make problem





Hi Manfred,

That didn't change in 2.1.  The comma is in the manifest file for CDT
2.0.x for the C linker tool.  The comma was removed from the cpp linker
tool last May, so maybe it was just an oversight that it did not get
removed from the c linker tool.

Sean, do you remember making that change?

Thanks,
Leo

-----Original Message-----
From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
Behalf Of Neugebauer Manfred
Sent: Friday, December 03, 2004 1:41 PM
To: cdt-dev@xxxxxxxxxxx
Subject: RE: [cdt-dev] CDT 2.1 RC 4: managed make problem


Hallo Leo,

It's good that you already know where the problem is located. I see the
following from my point of view:

adding a Xlinker string to a managed make file worked before (definitely
in
CDT 1.x, but I believe even with CDT 2.0.x), so there must be a change
in
this definition file when CDT moved to 2.1 (I don't know why?). May be
you
can simple take the change back?

Have I nice weekend. Manfred.

-----Original Message-----
From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx]On
Behalf Of Treggiari, Leo
Sent: Freitag, 3. Dezember 2004 18:12
To: cdt-dev@xxxxxxxxxxx
Subject: RE: [cdt-dev] CDT 2.1 RC 4: managed make problem


Hi Manfred,

The comma ',' comes from the GNU tool definitions manifest file.  The C
linker definition for the GNU and macosx linkers contains the comma,
whereas the CPP linker definitions do not.

I'm not a GNU tool-chain user.  The problem will be easy to fix, but
someone with a better understanding of the GNU tool-chain needs to tell
me what is correct.

Regards,
Leo

-----Original Message-----
From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
Behalf Of Neugebauer Manfred
Sent: Friday, December 03, 2004 11:43 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] CDT 2.1 RC 4: managed make problem


Hallo,

I recognized the following problem when using CDT 2.1 RC 4. I set up a C
project using managed make. In the property sheet I need to set up a
special
linker option for our realtime application. I add the string
"--emit-relocs"
in the miscellaneous field of the gcc c linker options. However, the
string
propagated to the compiler adds a colon "," between "Xlinker" and the
new
string:

Building target: testgcc34a.exe
gcc -nodefaultlibs -Xlinker, --emit-relocs -o testgcc34a.exe ltest2.o
-lgcc -lcRm -lcrtEnd
gcc: unrecognized option `-Xlinker,'
Finished building: testgcc34a.exe
Build complete for project testgcc34a

The problem was entered as bug 80119 to bugzilla.

Manfred.


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top