<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Der GNU C++ Compiler unter Ubuntu-Linux 10.10 erkennt das File-Format .t nicht.]]></title><description><![CDATA[<p>Hallo,</p>
<p>beim Compilieren des Quellcodes bricht der Compiler bei mir mit folgender<br />
Fehlermeldung ab:</p>
<p>g++ -o slistmain.exe slistmain.cpp sliste.t vergleich.t<br />
/usr/bin/ld:sliste.t: file format not recognized; treating as linker script<br />
/usr/bin/ld:sliste.t:3: syntax error<br />
collect2: ld returned 1 exit status</p>
<p>Wenn ich die &quot;sliste.t&quot; in &quot;sliste.h&quot; umbenenne, dann funktioniert es ploetzlich wieder. Aber mich wuerde gerne mal interessieren, ob man den Fehler auch beheben kann, ohne jetzt unbedingt die Datei-Endung in .h zu aendern.</p>
<p>Und danke schon mal im voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/279888/der-gnu-c-compiler-unter-ubuntu-linux-10-10-erkennt-das-file-format-t-nicht</link><generator>RSS for Node</generator><lastBuildDate>Mon, 24 Aug 2026 09:03:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/279888.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Jan 2011 15:59:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Der GNU C++ Compiler unter Ubuntu-Linux 10.10 erkennt das File-Format .t nicht. on Wed, 05 Jan 2011 15:59:05 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>beim Compilieren des Quellcodes bricht der Compiler bei mir mit folgender<br />
Fehlermeldung ab:</p>
<p>g++ -o slistmain.exe slistmain.cpp sliste.t vergleich.t<br />
/usr/bin/ld:sliste.t: file format not recognized; treating as linker script<br />
/usr/bin/ld:sliste.t:3: syntax error<br />
collect2: ld returned 1 exit status</p>
<p>Wenn ich die &quot;sliste.t&quot; in &quot;sliste.h&quot; umbenenne, dann funktioniert es ploetzlich wieder. Aber mich wuerde gerne mal interessieren, ob man den Fehler auch beheben kann, ohne jetzt unbedingt die Datei-Endung in .h zu aendern.</p>
<p>Und danke schon mal im voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2002768</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2002768</guid><dc:creator><![CDATA[usernoname321]]></dc:creator><pubDate>Wed, 05 Jan 2011 15:59:05 GMT</pubDate></item><item><title><![CDATA[Reply to Der GNU C++ Compiler unter Ubuntu-Linux 10.10 erkennt das File-Format .t nicht. on Wed, 05 Jan 2011 16:01:27 GMT]]></title><description><![CDATA[<p>Übergebe zusätzlich noch <code>-x c++</code> als Argument.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2002770</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2002770</guid><dc:creator><![CDATA[Benutzerohnenamen]]></dc:creator><pubDate>Wed, 05 Jan 2011 16:01:27 GMT</pubDate></item><item><title><![CDATA[Reply to Der GNU C++ Compiler unter Ubuntu-Linux 10.10 erkennt das File-Format .t nicht. on Wed, 05 Jan 2011 16:22:53 GMT]]></title><description><![CDATA[<p>Danke, es hat funktioniert!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2002782</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2002782</guid><dc:creator><![CDATA[usernoname321]]></dc:creator><pubDate>Wed, 05 Jan 2011 16:22:53 GMT</pubDate></item><item><title><![CDATA[Reply to Der GNU C++ Compiler unter Ubuntu-Linux 10.10 erkennt das File-Format .t nicht. on Wed, 05 Jan 2011 19:18:36 GMT]]></title><description><![CDATA[<p>Jetzt würde mich allerdings doch der Sinn dahinter interessieren. Warum nicht die Standardendungen benutzen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2002872</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2002872</guid><dc:creator><![CDATA[picaschaf]]></dc:creator><pubDate>Wed, 05 Jan 2011 19:18:36 GMT</pubDate></item><item><title><![CDATA[Reply to Der GNU C++ Compiler unter Ubuntu-Linux 10.10 erkennt das File-Format .t nicht. on Wed, 05 Jan 2011 20:55:25 GMT]]></title><description><![CDATA[<p>Was soll denn sliste.t und vergleich.t sein? Und wie kommst Du darauf, das nach .h umzubenennen? Warum willst Du ein .h überhaupt separat kompilieren?</p>
<p>Ich denke Du hast Nachholbedarf, was das Thema &quot;Getrennte Übersetzung&quot; angeht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2002923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2002923</guid><dc:creator><![CDATA[krümelkacker]]></dc:creator><pubDate>Wed, 05 Jan 2011 20:55:25 GMT</pubDate></item></channel></rss>