Mercurial > projects > ldc
annotate lphobos/std/c/linux/linuxextern.d @ 983:6e68054cfc20
Fix out-ouf-source build for runtime as well.
To build out-of-source, follow these steps:
# [[Insert LLVM build instructions here]]
mkdir my_build_dir
cd my_build_dir
svn co http://svn.dsource.org/projects/tango/trunk tango
ccmake <PATH_TO_SOURCE>
# (Regular ccmake stuff, press 'c' a few times followed by 'g')
make
make runtime
# add `PWD`/bin to PATH
closes #213
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 19 Feb 2009 11:01:34 +0100 |
parents | 058d3925950e |
children |
rev | line source |
---|---|
1 | 1 |
2 /* Written by Walter Bright. | |
3 * www.digitalmars.com | |
4 * Placed into public domain. | |
5 * Linux(R) is the registered trademark of Linus Torvalds in the U.S. and other | |
6 * countries. | |
7 */ | |
8 | |
9 /* These are all the globals defined by the linux C runtime library. | |
10 * Put them separate so they'll be externed - do not link in linuxextern.o | |
11 */ | |
12 | |
13 module std.c.linux.linuxextern; | |
14 | |
88
058d3925950e
[svn r92] Fixed support for statically initialized unions. lots of bugfixes as cleanups too.
lindquist
parents:
1
diff
changeset
|
15 extern extern (C) |
1 | 16 { |
17 void* __libc_stack_end; | |
18 int __data_start; | |
19 int _end; | |
20 int timezone; | |
21 | |
22 void *_deh_beg; | |
23 void *_deh_end; | |
24 } | |
25 |