This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 »
466
Announcements / Re: First R4 game, despite everything being unimplemented
« on: April 21, 2010, 03:23:39 pm »No, I have the Cygwin GCC compiler. It works for the hello world program, and for my code.Don't use Cygwin for this; just install the native Windows C::B.
What was the point of Cygwin, again? It seems like it's just for people that are afraid to install GNU/Linux because they think that it's TOO HARD.
467
Announcements / Re: First R4 game, despite everything being unimplemented
« on: April 20, 2010, 08:03:50 pm »Well yeah, that'd be great, if I knew what arguments to call g++ with to compile an enigma game......it's the same for MinGW and the native Linux GCC?
468
Announcements / Re: First R4 game, despite everything being unimplemented
« on: April 20, 2010, 04:09:44 pm »
I have mingw32 installed, and all that I have to do is type i486-mingw32-g++ instead of g++ when I compile.
It's not that complicated. And all that I had to do for install was install the mingw32-binutils and mingw32-gcc packages.
It's not that complicated. And all that I had to do for install was install the mingw32-binutils and mingw32-gcc packages.
469
Announcements / Re: Things that are broke
« on: April 20, 2010, 03:16:35 pm »You find a better way of keeping the terminal open when the user decides to double click the icon.
Code: [Select]
echo "Press any key to continue...";read
And if you're so intent on pause:
Code: [Select]
su
echo -en '#!/bin/bash\necho "Press any key to continue...";read' > /bin/pause
chmod +x /bin/pause
exit
470
Announcements / Re: Things that are broke
« on: April 19, 2010, 07:39:26 pm »java -jar lgm16b4.jar$ pause
pause
bash: pause: command not found
And it's a stupid command, anyways.
471
Announcements / Re: Things that are broke
« on: April 19, 2010, 07:06:17 pm »
Also, josh, make two text files: one that's lgm.bat and one that's lgm.sh, both containing:
java -jar lgm16b4.jar
And commit it.
java -jar lgm16b4.jar
And commit it.
472
Announcements / Re: First R4 game, despite everything being unimplemented
« on: April 19, 2010, 06:02:43 pm »Because my server might be confused if I gave it no extension, thinking it was a folder or some such. So I said "what extension should I use?" and since I figured it was an ELF, I'd give it an ELF extension - which also communicates that it's linux only.What the hell kind of server can't decide the difference between a file and a directory.
Quote
Apparently not all elfs are equal, so I suppose I should specify that mine was made on Ubuntu 9.10. I'm used to windows - where all exes are essentailly equal, and Java - where all jars *are* equal (.equals() :-p).Windows: No, they're not. There's a difference between 32-bit and 64-bit EXEs.
Java: Yes, they are.
Linux: It's the same as Windows, however, there are more architectures (Ubuntu uses AMD64, which is a "higher level" than x86_64). i686 executables can't run on i386, and AMD64 can't run on x86_64.
Why couldn't you just release the gm6 instead of the binary?
Seems like in order to compile for Windows, I have to actually be on Windows. As for distributing GM6s or EGMs, that kinda defeats the purpose of "distribution", as the user would also have to have ENIGMA installed. That's like requiring everyone who wants to play a GM game to have GM installed.The GM examples are GMKs, not EXEs. And MinGW has cross-compilers.
I thought there was supposed to be some semblance of cross-platform here.
Eh, I'm going back to my Java jars.
473
Announcements / Re: First R4 game, despite everything being unimplemented
« on: April 19, 2010, 02:14:16 pm »
$ ./mouse_to_ball.elf
./mouse_to_ball.elf: error while loading shared libraries: libatiuki.so.1: wrong ELF class: ELFCLASS64
(Arch Linux x86_64)
The ELF extension is never used; why did you use it
./mouse_to_ball.elf: error while loading shared libraries: libatiuki.so.1: wrong ELF class: ELFCLASS64
(Arch Linux x86_64)
The ELF extension is never used; why did you use it
474
Announcements / Re: Things that are broke
« on: April 19, 2010, 02:12:29 pm »"Comment-out the debug flags and un-comment the release flags depending on how you want to build it."Yes.
Is that what I committed? >_<
There is no other way to do it that isn't copy-pasting everything. And I already did that for standalone.
I would have made a bash/batch script instead, but you insisted otherwise.
475
Announcements / Re: Things that are broke
« on: April 18, 2010, 09:07:57 pm »
I've added a makefile, and Josh has committed (or will commit) it.
Type either make linux or make win to build the compiler library. Comment-out the debug flags and un-comment the release flags depending on how you want to build it.
Type either make linux or make win to build the compiler library. Comment-out the debug flags and un-comment the release flags depending on how you want to build it.
476
Announcements / Re: Bugtracker
« on: April 18, 2010, 10:44:36 am »
You showed this to me a while ago.
But I can't login with what I thought was my old password.
And your "FORGOT YOUR PASSWORD?" does not work and it is teasing me and making me frustrated.
But I can't login with what I thought was my old password.
And your "FORGOT YOUR PASSWORD?" does not work and it is teasing me and making me frustrated.
477
Announcements / Re: Anaphase
« on: April 15, 2010, 07:37:47 pm »
On clicking compile:
Code: [Select]
Initializing EDL Parser... Done.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.enigma.EnigmaRunner.compile(EnigmaRunner.java:358)
at org.enigma.EnigmaRunner.actionPerformed(EnigmaRunner.java:406)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
at java.awt.Component.processMouseEvent(Component.java:6108)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:5873)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
478
Announcements / Re: Anaphase
« on: April 15, 2010, 07:26:00 pm »
And I feel stupid. I was building the Windows version.
It still breaks.
EDIT: To fix the Linux build, add -fPIC to the extra build options.
It still breaks.
Code: [Select]
-------------- Build: Release-Linux in compileEGMf ---------------
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_parse.cpp -o .objs/cfile_parse/cfile_parse.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_parse_macros.cpp -o .objs/cfile_parse/cfile_parse_macros.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_pushing.cpp -o .objs/cfile_parse/cfile_pushing.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cparse_components.cpp -o .objs/cfile_parse/cparse_components.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cparse_shared.cpp -o .objs/cfile_parse/cparse_shared.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/expression_evaluator.cpp -o .objs/cfile_parse/expression_evaluator.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/handle_letters.cpp -o .objs/cfile_parse/handle_letters.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/keyword_operator.cpp -o .objs/cfile_parse/keyword_operator.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/macro_functions.cpp -o .objs/cfile_parse/macro_functions.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/main.cpp -o .objs/cfile_parse/main.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/skipping.cpp -o .objs/cfile_parse/skipping.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/template_handlers.cpp -o .objs/cfile_parse/template_handlers.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/compile.cpp -o .objs/compiler/compile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/compile_includes.cpp -o .objs/compiler/compile_includes.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/output_locals.cpp -o .objs/compiler/output_locals.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/pcs/pcs.cpp -o .objs/compiler/pcs/pcs.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/externs/externs.cpp -o .objs/externs/externs.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/externs/references.cpp -o .objs/externs/references.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/gcc_interface/gcc_backend.cpp -o .objs/gcc_interface/gcc_backend.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/darray.cpp -o .objs/general/darray.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/string.cpp -o .objs/general/string.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/textfile.cpp -o .objs/general/textfile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/main.cpp -o .objs/main.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/collect_variables.cpp -o .objs/parser/collect_variables.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/object_storage.cpp -o .objs/parser/object_storage.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/parser.cpp -o .objs/parser/parser.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/parser_components.cpp -o .objs/parser/parser_components.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/syntax/checkfile.cpp -o .objs/syntax/checkfile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/syntax/syntax.cpp -o .objs/syntax/syntax.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/varnames/varnames.cpp -o .objs/varnames/varnames.o
g++ -shared .objs/cfile_parse/cfile_parse.o .objs/cfile_parse/cfile_parse_macros.o .objs/cfile_parse/cfile_pushing.o .objs/cfile_parse/cparse_components.o .objs/cfile_parse/cparse_shared.o .objs/cfile_parse/expression_evaluator.o .objs/cfile_parse/handle_letters.o .objs/cfile_parse/keyword_operator.o .objs/cfile_parse/macro_functions.o .objs/cfile_parse/main.o .objs/cfile_parse/skipping.o .objs/cfile_parse/template_handlers.o .objs/compiler/compile.o .objs/compiler/compile_includes.o .objs/compiler/output_locals.o .objs/compiler/pcs/pcs.o .objs/externs/externs.o .objs/externs/references.o .objs/gcc_interface/gcc_backend.o .objs/general/darray.o .objs/general/string.o .objs/general/textfile.o .objs/main.o .objs/parser/collect_variables.o .objs/parser/object_storage.o .objs/parser/parser.o .objs/parser/parser_components.o .objs/syntax/checkfile.o .objs/syntax/syntax.o .objs/varnames/varnames.o -o ../libcompileEGMf.so -s -fPIC
/usr/bin/ld: .objs/cfile_parse/cfile_parse.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
.objs/cfile_parse/cfile_parse.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 46 seconds)
0 errors, 0 warnings
EDIT: To fix the Linux build, add -fPIC to the extra build options.
479
Announcements / Re: Anaphase
« on: April 15, 2010, 07:18:11 pm »
-------------- Build: Release in compileEGMf ---------------
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_parse.cpp -o .objs/cfile_parse/cfile_parse.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_parse_macros.cpp -o .objs/cfile_parse/cfile_parse_macros.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_pushing.cpp -o .objs/cfile_parse/cfile_pushing.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cparse_components.cpp -o .objs/cfile_parse/cparse_components.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cparse_shared.cpp -o .objs/cfile_parse/cparse_shared.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/expression_evaluator.cpp -o .objs/cfile_parse/expression_evaluator.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/handle_letters.cpp -o .objs/cfile_parse/handle_letters.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/keyword_operator.cpp -o .objs/cfile_parse/keyword_operator.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/macro_functions.cpp -o .objs/cfile_parse/macro_functions.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/main.cpp -o .objs/cfile_parse/main.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/skipping.cpp -o .objs/cfile_parse/skipping.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/template_handlers.cpp -o .objs/cfile_parse/template_handlers.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/compile.cpp -o .objs/compiler/compile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/compile_includes.cpp -o .objs/compiler/compile_includes.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/output_locals.cpp -o .objs/compiler/output_locals.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/pcs/pcs.cpp -o .objs/compiler/pcs/pcs.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/externs/externs.cpp -o .objs/externs/externs.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/externs/references.cpp -o .objs/externs/references.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/gcc_interface/gcc_backend.cpp -o .objs/gcc_interface/gcc_backend.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/darray.cpp -o .objs/general/darray.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/string.cpp -o .objs/general/string.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/textfile.cpp -o .objs/general/textfile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/main.cpp -o .objs/main.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/collect_variables.cpp -o .objs/parser/collect_variables.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/object_storage.cpp -o .objs/parser/object_storage.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/parser.cpp -o .objs/parser/parser.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/parser_components.cpp -o .objs/parser/parser_components.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/syntax/checkfile.cpp -o .objs/syntax/checkfile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/syntax/syntax.cpp -o .objs/syntax/syntax.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/varnames/varnames.cpp -o .objs/varnames/varnames.o
g++ -shared .objs/cfile_parse/cfile_parse.o .objs/cfile_parse/cfile_parse_macros.o .objs/cfile_parse/cfile_pushing.o .objs/cfile_parse/cparse_components.o .objs/cfile_parse/cparse_shared.o .objs/cfile_parse/expression_evaluator.o .objs/cfile_parse/handle_letters.o .objs/cfile_parse/keyword_operator.o .objs/cfile_parse/macro_functions.o .objs/cfile_parse/main.o .objs/cfile_parse/skipping.o .objs/cfile_parse/template_handlers.o .objs/compiler/compile.o .objs/compiler/compile_includes.o .objs/compiler/output_locals.o .objs/compiler/pcs/pcs.o .objs/externs/externs.o .objs/externs/references.o .objs/gcc_interface/gcc_backend.o .objs/general/darray.o .objs/general/string.o .objs/general/textfile.o .objs/main.o .objs/parser/collect_variables.o .objs/parser/object_storage.o .objs/parser/parser.o .objs/parser/parser_components.o .objs/syntax/checkfile.o .objs/syntax/syntax.o .objs/varnames/varnames.o -o ../compileEGMf.so -s
/usr/bin/ld: .objs/cfile_parse/cfile_parse.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
.objs/cfile_parse/cfile_parse.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 47 seconds)
0 errors, 0 warnings
-DBUILD-DLL only works for Windows. It should be -fPIC for .so.
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_parse.cpp -o .objs/cfile_parse/cfile_parse.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_parse_macros.cpp -o .objs/cfile_parse/cfile_parse_macros.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cfile_pushing.cpp -o .objs/cfile_parse/cfile_pushing.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cparse_components.cpp -o .objs/cfile_parse/cparse_components.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/cparse_shared.cpp -o .objs/cfile_parse/cparse_shared.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/expression_evaluator.cpp -o .objs/cfile_parse/expression_evaluator.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/handle_letters.cpp -o .objs/cfile_parse/handle_letters.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/keyword_operator.cpp -o .objs/cfile_parse/keyword_operator.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/macro_functions.cpp -o .objs/cfile_parse/macro_functions.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/main.cpp -o .objs/cfile_parse/main.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/skipping.cpp -o .objs/cfile_parse/skipping.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/cfile_parse/template_handlers.cpp -o .objs/cfile_parse/template_handlers.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/compile.cpp -o .objs/compiler/compile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/compile_includes.cpp -o .objs/compiler/compile_includes.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/output_locals.cpp -o .objs/compiler/output_locals.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/compiler/pcs/pcs.cpp -o .objs/compiler/pcs/pcs.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/externs/externs.cpp -o .objs/externs/externs.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/externs/references.cpp -o .objs/externs/references.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/gcc_interface/gcc_backend.cpp -o .objs/gcc_interface/gcc_backend.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/darray.cpp -o .objs/general/darray.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/string.cpp -o .objs/general/string.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/general/textfile.cpp -o .objs/general/textfile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/main.cpp -o .objs/main.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/collect_variables.cpp -o .objs/parser/collect_variables.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/object_storage.cpp -o .objs/parser/object_storage.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/parser.cpp -o .objs/parser/parser.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/parser/parser_components.cpp -o .objs/parser/parser_components.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/syntax/checkfile.cpp -o .objs/syntax/checkfile.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/syntax/syntax.cpp -o .objs/syntax/syntax.o
g++ -Wall -O3 -O2 -Wall -DBUILD_DLL -c /home/alex/enigma-dev/trunk/CompilerSource/varnames/varnames.cpp -o .objs/varnames/varnames.o
g++ -shared .objs/cfile_parse/cfile_parse.o .objs/cfile_parse/cfile_parse_macros.o .objs/cfile_parse/cfile_pushing.o .objs/cfile_parse/cparse_components.o .objs/cfile_parse/cparse_shared.o .objs/cfile_parse/expression_evaluator.o .objs/cfile_parse/handle_letters.o .objs/cfile_parse/keyword_operator.o .objs/cfile_parse/macro_functions.o .objs/cfile_parse/main.o .objs/cfile_parse/skipping.o .objs/cfile_parse/template_handlers.o .objs/compiler/compile.o .objs/compiler/compile_includes.o .objs/compiler/output_locals.o .objs/compiler/pcs/pcs.o .objs/externs/externs.o .objs/externs/references.o .objs/gcc_interface/gcc_backend.o .objs/general/darray.o .objs/general/string.o .objs/general/textfile.o .objs/main.o .objs/parser/collect_variables.o .objs/parser/object_storage.o .objs/parser/parser.o .objs/parser/parser_components.o .objs/syntax/checkfile.o .objs/syntax/syntax.o .objs/varnames/varnames.o -o ../compileEGMf.so -s
/usr/bin/ld: .objs/cfile_parse/cfile_parse.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
.objs/cfile_parse/cfile_parse.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 47 seconds)
0 errors, 0 warnings
-DBUILD-DLL only works for Windows. It should be -fPIC for .so.
480
Announcements / Re: Anaphase
« on: April 15, 2010, 03:44:36 pm »Code: [Select]
-------------- Build: Release in compileEGMf ---------------
Compiling: cfile_parse/cfile_parse.cpp
Compiling: cfile_parse/cfile_parse_macros.cpp
Compiling: cfile_parse/cfile_pushing.cpp
Compiling: cfile_parse/cparse_components.cpp
Compiling: cfile_parse/cparse_shared.cpp
Compiling: cfile_parse/expression_evaluator.cpp
Compiling: cfile_parse/handle_letters.cpp
Compiling: cfile_parse/keyword_operator.cpp
Compiling: cfile_parse/macro_functions.cpp
Compiling: cfile_parse/main.cpp
Compiling: cfile_parse/skipping.cpp
Compiling: cfile_parse/template_handlers.cpp
Compiling: compiler/compile.cpp
Compiling: compiler/compile_includes.cpp
Compiling: compiler/output_locals.cpp
Compiling: compiler/pcs/pcs.cpp
Compiling: externs/externs.cpp
Compiling: externs/references.cpp
Compiling: gcc_interface/gcc_backend.cpp
Compiling: general/darray.cpp
Compiling: general/string.cpp
Compiling: general/textfile.cpp
Compiling: main.cpp
Compiling: parser/collect_variables.cpp
Compiling: parser/object_storage.cpp
Compiling: parser/parser.cpp
Compiling: parser/parser_components.cpp
Compiling: syntax/checkfile.cpp
Compiling: syntax/syntax.cpp
Compiling: varnames/varnames.cpp
Linking dynamic library: ../compileEGMf.so
/usr/bin/ld: .objs/cfile_parse/cfile_parse.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
.objs/cfile_parse/cfile_parse.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 46 seconds)
0 errors, 0 warnings