~extension-hackers/globalmenu-extension/3.5

« back to all changes in this revision

Viewing changes to build/wince/tools/arm-wince-link.c

  • Committer: Chris Coulson
  • Date: 2011-08-05 17:37:02 UTC
  • Revision ID: chrisccoulson@ubuntu.com-20110805173702-n11ykbt0tdp5u07q
Refresh build system from FIREFOX_6_0b5_BUILD1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "toolspath.h"
2
 
#include "linkargs.h"
3
 
 
4
 
int
5
 
main(int argc, char **argv)
6
 
{
7
 
  int iRetVal;
8
 
  char* args[1000];
9
 
  int i = 0;
10
 
  int j = 0;
11
 
  int k = 0;
12
 
  int s = 0;
13
 
 
14
 
  // if -DLL is not passed, then change the entry to 'main'
15
 
  while(argv[j]) {
16
 
    checkLinkArgs(&k, &s, &i, &j, args, argv);
17
 
    j++;
18
 
  }
19
 
  args[i++] = LINK_PATH;
20
 
  addLinkArgs(k, s, &i, &j, args, argv);
21
 
 
22
 
  argpath_conv(&argv[1], &args[i]);
23
 
 
24
 
  return run(args);
25
 
}
26