Search found 100 matches

by Juergen Kuehlwein
Mar 18, 2019 19:00
Forum: Beginners
Topic: Compiling the runtime library
Replies: 15
Views: 672

Re: Compiling the runtime library

I´m compiling in Windows, therefore i installed MSYS2 and MinGW (V. 7.3, 32 and 64 bit). My desktop link for compiling the runtime library is: E:\msys64\msys2_shell.cmd -msys -c "./rtl.sh" and rtl.sh is: #!/bin/bash cd .. cd /d/freebasic/jk-fork-old export PATH=/e/MinGW/mingw32/bin:$PATH m...
by Juergen Kuehlwein
Mar 17, 2019 22:09
Forum: Beginners
Topic: Compiling the runtime library
Replies: 15
Views: 672

Re: Compiling the runtime library

I agree that different GCC versions might cause problems. But in this case i suspect a more basic failure like a missing command line switch, an improper setup or something like that. In fact the orginal libfb.a doesn´t contain "_imp____acrt_iob_func" at all, in the new one you find it 15 ...
by Juergen Kuehlwein
Mar 17, 2019 21:08
Forum: Beginners
Topic: Compiling the runtime library
Replies: 15
Views: 672

Re: Compiling the runtime library

No - they are different (5.2 vs. 7.3 for the runtime). But how could this be a problem, the library format shouldn´t change between versions - or am i wrong here?
by Juergen Kuehlwein
Mar 17, 2019 20:44
Forum: Beginners
Topic: Compiling the runtime library
Replies: 15
Views: 672

Re: Compiling the runtime library

Ok - "make rtlib TARGET=i686-w64-mingw32" runs without errors now and builds four files in \lib\freebasic\win32: fbextra.x, fbrt0.o. libfb.a and libfbmt.a. Fbextra.x is the same as the existing one in my FreeBASIC installation, so i copy the other ones into \lib\win32 in my FreeBASIC insta...
by Juergen Kuehlwein
Mar 05, 2019 12:47
Forum: Projects
Topic: FreeBASIC IDE with enhanced debugging and project features
Replies: 41
Views: 4711

Re: FreeBASIC IDE with enhanced debugging and project features

Hi all,


V 2.4.5.4 is online, fixed minor visual and help issues, adaptions and additions in the help file


JK
by Juergen Kuehlwein
Feb 16, 2019 13:19
Forum: Beginners
Topic: Alias
Replies: 3
Views: 147

Re: Alias

Ok, good to know that - thanks

JK
by Juergen Kuehlwein
Feb 16, 2019 12:44
Forum: Beginners
Topic: Alias
Replies: 3
Views: 147

Alias

What is wrong with my code? '#compiler freebasic '#compile console 32 function my_func2 (byval z as zstring ptr) as long '*********************************************************************************************** ' '*******************************************************************************...
by Juergen Kuehlwein
Feb 03, 2019 22:14
Forum: Beginners
Topic: Compiling the runtime library
Replies: 15
Views: 672

Re: Compiling the runtime library

I finally ran a successful built!

JK
by Juergen Kuehlwein
Feb 03, 2019 18:39
Forum: Beginners
Topic: Compiling the runtime library
Replies: 15
Views: 672

Re: Compiling the runtime library

It sounds like maybe you've taken the ffi.h.in file, and renamed it?

Yes, that´s what i did.

That file has to pass through the configure/make process to fill in some of the variables, in order to become a valid header file that works with your target.

Thanks, i didn´t know that!


JK
by Juergen Kuehlwein
Feb 03, 2019 14:28
Forum: Beginners
Topic: Compiling the runtime library
Replies: 15
Views: 672

Compiling the runtime library

Trying to compile the runtime i ran into this problem: CC src/rtlib/obj/win32/thread_call.o In file included from src/rtlib/thread_call.c:33:0: E:/MinGW/mingw32/i686-w64-mingw32/include/ffi.h:61:9: error: macro names must be identifiers #ifndef @TARGET@ ^ compilation terminated due to -Wfatal-errors...
by Juergen Kuehlwein
Feb 03, 2019 13:10
Forum: Projects
Topic: FreeBASIC IDE with enhanced debugging and project features
Replies: 41
Views: 4711

Re: FreeBASIC IDE with enhanced debugging and project features

Hi all,

V 2.4.5.3 is online, there was an unnecessary error message starting PB-Forms or the Visual Designer, when there were no open files in the IDE

JK
by Juergen Kuehlwein
Jan 29, 2019 17:14
Forum: Beginners
Topic: Unicode and files
Replies: 10
Views: 475

Re: Unicode and files

Thanks for the info!

JK
by Juergen Kuehlwein
Jan 28, 2019 17:56
Forum: Beginners
Topic: Unicode and files
Replies: 10
Views: 475

Unicode and files

Reading the docs, it seems i cannot have unicode file names , but i can read and write unicode data . And this is independent of the file encoding, i can read and write WSTRINGs from and to an ASCII encoded file, so basically unicode strings work with files, but real unicode file names fail. If you ...
by Juergen Kuehlwein
Jan 20, 2019 16:03
Forum: Beginners
Topic: Array pointer
Replies: 5
Views: 232

Re: Array pointer

I need this for a generic array sort macro


JK
by Juergen Kuehlwein
Jan 19, 2019 15:27
Forum: Beginners
Topic: Array pointer
Replies: 5
Views: 232

Re: Array pointer

Wow, quite tricky to get a pointer to the array descriptor, but it works - thanks for sharing!

JK

Go to advanced search