Package: gcc-3.3
Version: 3.3.6ds1-15
Patch
When cross building,
gcc-3.3 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../src/gcc
-I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include \
-DGCC_INCLUDE_DIR=\"/usr/lib/gcc-lib/arm-linux-gnu/3.3.6/include\"
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/arm-linux-gnu/include/c++/3.3\"
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/usr/arm-linux-gnu/include/c++/3.3/arm-linux-gnu\"
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/usr/arm-linux-gnu/include/c++/3.3/backward\"
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\"
-DCROSS_INCLUDE_DIR=\"/usr/lib/gcc-lib/arm-linux-gnu/3.3.6/../../../../arm-linux-gnu/sys-include\"
-DTOOL_INCLUDE_DIR=\"/usr/lib/gcc-lib/arm-linux-gnu/3.3.6/../../../../arm-linux-gnu/include\"
-DTARGET_MACHINE=\"arm-linux-gnu\" \
-c ../../src/gcc/cppdefault.c -o cppdefault.o
../../src/gcc/cppdefault.c:52: warning: traditional C rejects string
concatenation
../../src/gcc/cppdefault.c:52: error: `LOCAL_INCLUDE_DIR' undeclared
here (not in a function)
../../src/gcc/cppdefault.c:52: error: initializer element is not constant
../../src/gcc/cppdefault.c:52: error: (near initialization for
`cpp_include_defaults[3].fname')
../../src/gcc/cppdefault.c:52: error: syntax error before string constant
../../src/gcc/cppdefault.c:52: error: initializer element is not constant
../../src/gcc/cppdefault.c:52: error: (near initialization for
`cpp_include_defaults[3]')
../../src/gcc/cppdefault.c:59: error: initializer element is not constant
../../src/gcc/cppdefault.c:59: error: (near initialization for
`cpp_include_defaults[4]')
../../src/gcc/cppdefault.c:63: error: initializer element is not constant
../../src/gcc/cppdefault.c:63: error: (near initialization for
`cpp_include_defaults[5]')
../../src/gcc/cppdefault.c:67: error: initializer element is not constant
../../src/gcc/cppdefault.c:67: error: (near initialization for
`cpp_include_defaults[6]')
../../src/gcc/cppdefault.c:74: warning: traditional C rejects string
concatenation
../../src/gcc/cppdefault.c:74: error: `STANDARD_INCLUDE_DIR'
undeclared here (not in a function)
../../src/gcc/cppdefault.c:74: error: initializer element is not constant
../../src/gcc/cppdefault.c:74: error: (near initialization for
`cpp_include_defaults[7].fname')
../../src/gcc/cppdefault.c:74: error: syntax error before string constant
../../src/gcc/cppdefault.c:74: error: initializer element is not constant
../../src/gcc/cppdefault.c:74: error: (near initialization for
`cpp_include_defaults[7]')
../../src/gcc/cppdefault.c:80: error: initializer element is not constant
../../src/gcc/cppdefault.c:80: error: (near initialization for
`cpp_include_defaults[8]')
make[3]: *** [cppdefault.o] Error 1
I suggest to apply attached patch. Or maybe think on a better workarround? :-)
I am using a debootstrapped i386 Debian GNU/Linux 4.0, kernel
2.6.18-3-xen-vserver-amd64 and libc6 2.3.6.ds1-13.
--
Héctor Orón
--
Héctor Orón
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>/current/emdebian/trunk/buildcross/trunk/patches/gcc-3.3.patch - Emdebian - Trac</title>
<link rel="search" href="/svn/search" />
<link rel="help" href="/svn/wiki/TracGuide" />
<link rel="alternate" href="/svn/file/current/emdebian/trunk/buildcross/trunk/patches/gcc-3.3.patch?rev=826&format=raw" title="Original Format" type="text/x-diff" />
<link rel="alternate" href="/svn/file/current/emdebian/trunk/buildcross/trunk/patches/gcc-3.3.patch?rev=826&format=txt" title="Plain Text" type="text/plain" />
<link rel="up" href="/svn/browser/current/emdebian/trunk/buildcross/trunk/patches/" title="Parent directory" />
<link rel="start" href="/svn/wiki" />
<link rel="shortcut icon" href="/trac/trac.ico" type="image/x-icon" />
<link rel="icon" href="/trac/trac.ico" type="image/x-icon" />
<style type="text/css">
@import url(/trac/css/trac.css);
@import url(/trac/css/browser.css);
</style>
<script src="/trac/trac.js" type="text/javascript"></script>
</head>
<body>
<div id="banner">
<div id="header">
<a id="logo" href="http://www.emdebian.org/"><img src="http://www.emdebian.org/Pics/emdebian_swirl.jpg"
width="310" height="61"
alt="Emdebian" /></a>
<hr />
</div>
<form id="search" action="/svn/search" method="get">
<div>
<label for="proj-search">Search:</label>
<input type="text" id="proj-search" name="q" size="10" value="" />
<input type="submit" value="Search" />
<input type="hidden" name="wiki" value="on" />
<input type="hidden" name="changeset" value="on" />
<input type="hidden" name="ticket" value="on" />
</div>
</form>
<div id="metanav" class="nav">
<h2>Navigation</h2>
<ul>
<li class="first">
<a href="/svn/login">Login</a>
</li>
<li><a href="/svn/settings">Settings</a></li>
<li><a accesskey="6" href="/svn/wiki/TracGuide">Help/Guide</a></li>
<li style="display: none"><a accesskey="5" href="http://projects.edgewall.com/trac/wiki/TracFaq">FAQ</a></li>
<li style="display: none"><a accesskey="0" href="/svn/wiki/TracAccessibility">Accessibility</a></li>
<li class="last"><a accesskey="9" href="/svn/about_trac">About Trac</a></li>
</ul>
</div>
</div>
<div id="mainnav" class="nav">
<ul><li><a href="/svn/wiki" accesskey="1">Wiki</a></li><li><a href="/svn/timeline" accesskey="2">Timeline</a></li><li><a href="/svn/roadmap" accesskey="3">Roadmap</a></li><li><a href="/svn/browser/" class="active">Browse Source</a></li><li><a href="/svn/report">View Tickets</a></li><li><a href="/svn/newticket" accesskey="7">New Ticket</a></li><li><a href="/svn/search" accesskey="4">Search</a></li></ul>
</div>
<div id="main">
<div id="ctxtnav" class="nav">
<ul>
<li class="last"><a href="/svn/log/current/emdebian/trunk/buildcross/trunk/patches/gcc-3.3.patch?rev=826">Revision Log</a></li>
</ul>
</div>
<div id="content" class="file">
<h1><a class="first" title="Go to root directory" href="/svn/browser/">root</a><span class="sep">/</span><a title="Go to directory" href="/svn/browser/current/">current</a><span class="sep">/</span><a title="Go to directory" href="/svn/browser/current/emdebian/">emdebian</a><span class="sep">/</span><a title="Go to directory" href="/svn/browser/current/emdebian/trunk/">trunk</a><span class="sep">/</span><a title="Go to directory" href="/svn/browser/current/emdebian/trunk/buildcross/">buildcross</a><span class="sep">/</span><a title="Go to directory" href="/svn/browser/current/emdebian/trunk/buildcross/trunk/">trunk</a><span class="sep">/</span><a title="Go to directory" href="/svn/browser/current/emdebian/trunk/buildcross/trunk/patches/">patches</a><span class="sep">/</span><span class="filename">gcc-3.3.patch</span></h1>
<div id="jumprev">
<form action="" method="get">
<div>
<label for="rev">View revision:</label>
<input type="text" id="rev" name="rev" value="826" size="4" />
</div>
</form>
</div>
<table id="info" summary="Revision info">
<tr>
<th scope="row">
Revision <a href="/svn/changeset/826">826</a>
(by zumbi, 03/27/07 21:30:34)
</th>
<td class="message"><p>
final fix for gcc-3.3
</p>
</td>
</tr>
</table>
<div id="preview">
<div class="code-block"><PRE>
<B><span class="code-func">--- gcc-3.3-3.3.6ds1/debian/rules.patch 2007-03-27 21:20:45.000000000 +0000
</span></b><B><span class="code-keyword">+++ gcc-3.3-3.3.6ds1.cross/debian/rules.patch 2007-03-27 21:25:10.000000000 +0000
</span></b><I><span class="code-comment">@@ -155,7 +155,7 @@
</span></i> debian_patches += reporting # applied after gcc-cvs-updates
ifdef DEB_CROSS
<B><span class="code-func">- debian_patches += cross-cpp-installman
</span></b><B><span class="code-keyword">+ debian_patches += cross-cpp-installman gcc-3.3.6-emdebian-cross
</span></b> endif
# not applied by default
</pre></div>
</div>
<div id="help">
<strong>Note:</strong> See <a href="/svn/wiki/TracBrowser">TracBrowser</a> for help on using the browser.
</div>
</div>
<script type="text/javascript">searchHighlight()</script>
<div id="altlinks">
<h3>Download in other formats:</h3>
<ul>
<li class="first">
<a href="/svn/file/current/emdebian/trunk/buildcross/trunk/patches/gcc-3.3.patch?rev=826&format=raw">Original Format</a>
</li>
<li class="last">
<a href="/svn/file/current/emdebian/trunk/buildcross/trunk/patches/gcc-3.3.patch?rev=826&format=txt">Plain Text</a>
</li>
</ul>
</div>
</div>
<div id="footer">
<hr />
<a id="tracpowered" href="http://trac.edgewall.com/"><img src="/trac/trac_logo_mini.png" height="30" width="107"
alt="Trac Powered"/></a>
<p class="left">
Powered by <a href="/svn/about_trac"><strong>Trac 0.8.1</strong></a><br />
By <a href="http://www.edgewall.com/">Edgewall Software</a>.
</p>
<p class="right">
Visit the Trac open source project at<br /><a href="http://trac.edgewall.com/">http://trac.edgewall.com/</a>
</p>
</div>
</body>
</html>
Attachment:
gcc-3.3.6-emdebian-cross.dpatch
Description: Binary data