[Freemint-list] Cross Compiling Freemint

Markus Fröschle mfro at mubf.de
Tue Oct 25 00:51:14 MSD 2016


homebrew installs the Flex libs to /usr/local/Cellar while the linker 
expects the libs in /usr/lib or (better if you are on El Capitain or 
later) in /usr/local/lib :

for i in /usr/local/Cellar/flex/2.6.1/lib/*.{dylib,a} ; do sudo ln -sf 
$i /usr/local/lib; done



Am 24.10.2016 um 22:11 schrieb Ingo Uhlemann:
> Nope,
>
> i think there is something missing inside the cross compiling package, 
> maybe i should download it again and install it again.
>
>
> regards
>
> Ingo
>> Am 24.10.2016 um 21:08 schrieb Keli Hlodversson <keli at keli.dk 
>> <mailto:keli at keli.dk>>:
>>
>> https://github.com/westes/flex/releases
>>
>> But you should probably make it easier on yourself and install 
>> homebrew <http://brew.sh/>. (If you haven't already.) Then you can 
>> install thigs like this by typing "brew install flex" into a console 
>> window.
>>
>>
>> On Mon, Oct 24, 2016 at 10:58 AM, Ingo Uhlemann <tuxie at newtosworld.de 
>> <mailto:tuxie at newtosworld.de>> wrote:
>>
>>     Hm and where do i get it ?
>>
>>
>>>     Am 24.10.2016 um 19:55 schrieb Keli Hlodversson <keli at keli.dk
>>>     <mailto:keli at keli.dk>>:
>>>
>>>     Looks like you need to install flex or make sure that
>>>     libfl.a/libfl.dylib is in the library search path
>>>
>>>     On Mon, Oct 24, 2016 at 10:08 AM, Ingo Uhlemann
>>>     <tuxie at newtosworld.de <mailto:tuxie at newtosworld.de>> wrote:
>>>
>>>         Hello,
>>>
>>>         i am working on an USB Interface for the Atari TT, now i
>>>         want to try to compile the freemint Kernel with patched
>>>         sources to test it. I downloaded the cross compiler for mac
>>>         os x, and compiling is working but now i get an error during
>>>         compile process
>>>
>>>         these are the last lines
>>>
>>>         cd ../../shared/libsyscall;
>>>         /Applications/Xcode.app/Contents/Developer/usr/bin/make
>>>         gcc -O -Wall -D_GNU_SOURCE -I../../shared -c gentables.c -o
>>>         gentables.o
>>>         gcc -O -Wall -D_GNU_SOURCE -I../../shared -o gen-syscall
>>>         gentables.o -L../../shared/libsyscall -lsyscall -lfl
>>>         ld: library not found for -lfl
>>>         clang: error: linker command failed with exit code 1 (use -v
>>>         to see invocation)
>>>         make[2]: *** [gen-syscall] Error 1
>>>         make[1]: *** [all-recursive] Error 1
>>>         make: *** [all-recursive] Error 1
>>>         Asus-Rampage-IV:freemint ingo$
>>>
>>>         do i forgot something to install ?
>>>
>>>         Thanks
>>>
>>>         Ingo
>>>
>>>
>>>         _______________________________________________
>>>         Freemint-list mailing list
>>>         Freemint-list at mail.atariforge.org
>>>         <mailto:Freemint-list at mail.atariforge.org>
>>>         http://mail.atariforge.org/mailman/listinfo/freemint-list
>>>         <http://mail.atariforge.org/mailman/listinfo/freemint-list>
>>>
>>>
>>>
>>>
>>>     -- 
>>>     With kind regards,
>>>     Keli Hlodversson
>>>
>>>     When you can count Johnny Depp's nose hairs in Pirates of the
>>>     Caribbean, there's no turning back [from HD].
>>
>>
>>
>>
>> -- 
>> With kind regards,
>> Keli Hlodversson
>>
>> When you can count Johnny Depp's nose hairs in Pirates of the 
>> Caribbean, there's no turning back [from HD].
>
>
>
> _______________________________________________
> Freemint-list mailing list
> Freemint-list at mail.atariforge.org
> http://mail.atariforge.org/mailman/listinfo/freemint-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.atariforge.org/pipermail/freemint-list/attachments/20161024/242fed0b/attachment.html 


More information about the Freemint-list mailing list