Missing file macosx.tar.bz2

196 views
Skip to first unread message

Lucas Fernandez

unread,
May 11, 2012, 6:44:08 PM5/11/12
to pingui...@googlegroups.com
Hello,

I am currently looking for the tarball "macosx.tar.bz2". It seem it have been deleted from : http://www.pinguino.cc/download/testing/macosx.tar.bz2

Has anyone kept a backup or know the new url to download it ?

Best regards
--
Lucas

Juan Fabian

unread,
May 14, 2012, 9:13:46 PM5/14/12
to pingui...@googlegroups.com
Hi Lucas,

i'd like to have the file too, i tested some time ago a macos version
with no success. I'd like to have a running macos version since i had
to move to this OS. I'd also love to have a 32bit piguino ready for
macos.

Maybe you can try the cross-compiler from this post:

http://forum.pinguino.cc/showthread.php?tid=3163

I had no luck then, but i hope to test it again one of these days. I'm
not experienced in cross-compiling, but i learned a bit while trying
it (thanks to Regis). If you're interested, maybe we can try to have
the job done by asking for help in the forum or here, trying to make
the cross-compiler. I remember most of the steps i took, so it would
be a good chance to retry them.

Best,

fabi

2012/5/12 Lucas Fernandez <lfern...@bearstech.com>:
> --
> Vous recevez ce message, car vous êtes abonné au groupe Google
> Groupes Pinguino.
> Cette discussion peut être lue sur le Web à l'adresse
> https://groups.google.com/d/msg/pinguinocard/-/yOUAdCaPdu4J.
> Pour envoyer un message à ce groupe, adressez un e-mail
> à pingui...@googlegroups.com.
> Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse
> pinguinocard...@googlegroups.com.
> Pour plus d'options, consultez la page de ce groupe :
> http://groups.google.com/group/pinguinocard?hl=fr

jp mandon

unread,
May 19, 2012, 5:43:35 AM5/19/12
to pingui...@googlegroups.com
Hi

A ( probably ) working version for MAC OSX is available on the SVN revision 428.
Everything works on OSX 10.6.8 except 8 bits uploader ( still in development ).
You need:
- python 2.6
- wxpython 2.9
- pyusb
- pysvn

Uploader should work on 10.7 with the libusb dmg ( available on the web ).
I didn't test it, waiting to update my macbook ( to help 10.6 users to solve the problem of the 8 bits uploader ).

Please give us some report for this revision.

Thanks
JP

2012/5/15 Juan Fabian <juan....@gmail.com>

Juan Fabian

unread,
May 19, 2012, 5:09:26 PM5/19/12
to pingui...@googlegroups.com
Hi guys,

i got pinguino IDE running in 10.7 lion, but it complains about no
32bit support:

------
Pinguino started at Sat May 19 22:31:50 2012

Python version is good (>=2.5)
System host is Mac OS X
8-bit compiler OK.
No 32-bit compiler for this system.
Download it at http://www.pinguino.cc/download/testing/macosx.tar.bz2
wx.python successfully loaded
wx.aui successfully loaded
Regex successfully loaded
Shutil successfully loaded
Subprocess successfully loaded
GetText successfully loaded
Locale successfully loaded
WebBrowser successfully loaded
Editeur successfully loaded
ArgParse successfully loaded
Pinguino Boards List successfully loaded

Everything is OK.
------

For instance, i tried the blink example for ubw32-460 (the board i
have) and the IDE complains:

Board: UBW32_460
Proc: 32MX460F512L
error while linking
/Users/fabi/prj/Pinguino/pinguino32/examples/1.Basics/Blink/Blink.o

Back in the terminal when i cat source/stdout i get:

make: /Users/fabi/prj/Pinguino/pinguino32/source/Makefile.macosx:
No such file or directory
make: *** No rule to make target
`/Users/fabi/prj/Pinguino/pinguino32/source/Makefile.macosx'. Stop.

I tried to download it from
http://www.pinguino.cc/download/testing/macosx.tar.bz2 but the file is
not there. Do you know where to download the compiler for macos?

Thanks,

fabi


2012/5/19 jp mandon <jp.m...@gmail.com>:

jp mandon

unread,
May 19, 2012, 5:42:47 PM5/19/12
to pingui...@googlegroups.com
in a terminal:

svn checkout http://pinguino32.googlecode.com/svn/branches/x.3/

everything is in this last version.

2012/5/19 Juan Fabian <juan....@gmail.com>

Juan Fabian

unread,
May 19, 2012, 9:17:38 PM5/19/12
to pingui...@googlegroups.com
I managed to install all the dependencies for the x.3. I had to hack a
little on the PySVN and comment the imports on check.py, because i
couldn't make it work. The thing is that for wxpython to work, i have
to run python in 32bit. But py-svn installed with macports is for 64
bits... So i commented it out.

Amazing GUI, by the way. Anyway, when i load the blink and compile i get:

mips-elf-gcc: internal compiler error: Trace/BPT trap: 5 (program cc1)
link error Blink.o

The out:

fabi@dulcinea:~/prj/Pinguino/x.3$ cat source/stdout
#----------------------------------------------------------------------------
# clean
#----------------------------------------------------------------------------
rm -f -v /Users/fabi/prj/Pinguino/x.3/source/main32.o
rm -f -v /Users/fabi/prj/Pinguino/x.3/source/main32.elf
rm -f -v /Users/fabi/prj/Pinguino/x.3/source/main32.hex
rm -f -v /Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/processor.o
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# copy
#----------------------------------------------------------------------------
cp /Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/32MX460F512L.o
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# compile and link
#----------------------------------------------------------------------------
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/mips-elf-gcc -EL -O3
-ffunction-sections -fdata-sections -Wl,--gc-sections -march=24kc
-msoft-float -Wl,--defsym,_min_heap_size=16384
-Wl,-Map=/Users/fabi/prj/Pinguino/x.3/source/output.map
-Wl,-L/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/ -D __PIC32MX__ -D
__32MX460F512L__ -D UBW32_460
-T/Users/fabi/prj/Pinguino/x.3/p32/lkr/UBW32_460/procdefs.ld
-T/Users/fabi/prj/Pinguino/x.3/p32/lkr/UBW32_460/elf32pic32mx.x
-L/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/usb -lm -lgcc -lc
-fdollars-in-identifiers
-I/Users/fabi/prj/Pinguino/x.3/p32/include/non-free
-I/Users/fabi/prj/Pinguino/x.3/p32/include/pinguino/core
-I/Users/fabi/prj/Pinguino/x.3/p32/include/pinguino/libraries
-I/Users/fabi/prj/Pinguino/x.3/p32/lkr/UBW32_460
-I/Users/fabi/prj/Pinguino/x.3/examples/01.Basics/Blink
-I/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free -o
/Users/fabi/prj/Pinguino/x.3/source/main32.elf
/Users/fabi/prj/Pinguino/x.3/source/main32.c\
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/crt0.S\
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/processor.o\
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/usb/libcdc.a\
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/usb/libadb.a\
/Users/fabi/prj/Pinguino/x.3/p32/lkr/UBW32_460/ISRwrapper.S\
/Users/fabi/prj/Pinguino/x.3/p32/include/non-free/p32xxxx.h\
-lm -lgcc -lc
dyld: Library not loaded: /Users/costesl/Desktop/my_gcc/lib/libmpfr.4.dylib
Referenced from:
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../libexec/gcc/mips-elf/4.6.2/cc1
Reason: image not found
mips-elf-gcc: internal compiler error: Trace/BPT trap: 5 (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [link] Error 4

I think i has some trouble with libmpfr. I don't have any of this
installed. Should i try to install that?

Thanks!

fabi.


2012/5/19 jp mandon <jp.m...@gmail.com>:

jp mandon

unread,
May 20, 2012, 3:52:30 AM5/20/12
to pingui...@googlegroups.com
Hi Fabi

Thanks for your report and sorry, I am not very familiar with MACOSX.
I changed this morning path to dependencies in the cc1 binary.
Please update the new version and give it a try.

To update to the last revision:

open a terminal
go to the x.3 folder
svn update

regards
JP

2012/5/20 Juan Fabian <juan....@gmail.com>

Juan Fabian

unread,
May 20, 2012, 10:07:16 AM5/20/12
to pingui...@googlegroups.com
Hi JP,

i updated svn, still not working. Now it complains that libgmp is not
found (is referenced by libmpfr)
dyld: Library not loaded: /Users/costesl/Desktop/my_gcc/lib/libgmp.10.dylib
Referenced from:
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../libexec/gcc/mips-elf/4.6.2/libmpfr.4.dylib
Reason: image not found
mips-elf-gcc: internal compiler error: Trace/BPT trap: 5 (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [link] Error 4

Maybe i need to tweak something?

Thanks!

fabi




2012/5/20 jp mandon <jp.m...@gmail.com>:

Lucas Fernandez

unread,
May 20, 2012, 9:00:26 AM5/20/12
to Pinguino
Hi jp,

With your last fix i get this new error :

14:57:12 kasey@iUnibody-2:~/pinguino2 cat source/stdout
#----------------------------------------------------------------------------
# clean
#----------------------------------------------------------------------------
rm -f -v /Users/kasey/pinguino2/source/main32.o
rm -f -v /Users/kasey/pinguino2/source/main32.elf
rm -f -v /Users/kasey/pinguino2/source/main32.hex
rm -f -v /Users/kasey/pinguino2/p32/obj/non-free/processor.o
« /Users/kasey/pinguino2/p32/obj/non-free/processor.o » supprimé
#----------------------------------------------------------------------------
# copy
#----------------------------------------------------------------------------
cp /Users/kasey/pinguino2/p32/obj/non-free/32MX440F256H.o /Users/kasey/
pinguino2/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# compile and link
#----------------------------------------------------------------------------
/Users/kasey/pinguino2/macosx/p32/bin/mips-elf-gcc -EL -O3 -ffunction-
sections -fdata-sections -Wl,--gc-sections -march=24kc -msoft-float -
Wl,--defsym,_min_heap_size=16384 -Wl,-Map=/Users/kasey/pinguino2/
source/output.map -Wl,-L/Users/kasey/pinguino2/p32/obj/non-free/ -D
__PIC32MX__ -D __32MX440F256H__ -D PIC32_PINGUINO_OTG -T/Users/kasey/
pinguino2/p32/lkr/PIC32_PINGUINO_OTG/procdefs.ld -T/Users/kasey/
pinguino2/p32/lkr/PIC32_PINGUINO_OTG/elf32pic32mx.x -L/Users/kasey/
pinguino2/p32/obj/non-free/usb -lm -lgcc -lc -fdollars-in-identifiers -
I/Users/kasey/pinguino2/p32/include/non-free -I/Users/kasey/pinguino2/
p32/include/pinguino/core -I/Users/kasey/pinguino2/p32/include/
pinguino/libraries -I/Users/kasey/pinguino2/p32/lkr/PIC32_PINGUINO_OTG
-I/Users/kasey/pinguino2/examples/01.Basics -I/Users/kasey/pinguino2/
p32/obj/non-free -o /Users/kasey/pinguino2/source/main32.elf /Users/
kasey/pinguino2/source/main32.c\
/Users/kasey/pinguino2/p32/obj/non-free/crt0.S\
/Users/kasey/pinguino2/p32/obj/non-free/processor.o\
/Users/kasey/pinguino2/p32/obj/non-free/usb/libcdc.a\
/Users/kasey/pinguino2/p32/obj/non-free/usb/libadb.a\
/Users/kasey/pinguino2/p32/lkr/PIC32_PINGUINO_OTG/ISRwrapper.S\
/Users/kasey/pinguino2/p32/include/non-free/p32xxxx.h\
-lm -lgcc -lc
In file included from /Users/kasey/pinguino2/source/main32.c:30:0:
/Users/kasey/pinguino2/p32/include/pinguino/core/io.c: In function
'IOsetRemap':
/Users/kasey/pinguino2/p32/include/pinguino/core/io.c:71:1: error:
'CFGCONbits' undeclared (first use in this function)
/Users/kasey/pinguino2/p32/include/pinguino/core/io.c:71:1: note: each
undeclared identifier is reported only once for each function it
appears in
In file included from /Users/kasey/pinguino2/source/main32.c:32:0:
/Users/kasey/pinguino2/p32/include/pinguino/core/newlib.c: At top
level:
/Users/kasey/pinguino2/p32/include/pinguino/core/newlib.c:90:28:
warning: 'struct stat' declared inside parameter list [enabled by
default]
/Users/kasey/pinguino2/p32/include/pinguino/core/newlib.c:90:28:
warning: its scope is only this definition or declaration, which is
probably not what you want [enabled by default]
make: *** [link] Error 1

jp mandon

unread,
May 20, 2012, 10:55:47 AM5/20/12
to pingui...@googlegroups.com
Hi guys

Thanks for your report.
I Updated the SVN ( just 2 minutes ago )

- changed libmpfr.4.dylib dependencies to local folder
- fixed io.c ( not due to MACOSX version but last change to incorporate Pinguino32-DIY )

Lucas, what is your OS version ?
( it seems that everything works for you, maybe libgmp is already in your path )

Please update your working copy ( svn update ), and try it again.

We should win the MACOSX war today !!

JP

2012/5/20 Lucas Fernandez <lfern...@bearstech.com>

Lucas Fernandez

unread,
May 20, 2012, 11:11:05 AM5/20/12
to Pinguino
I use Mac os 10.6.8

With rev 439, we have made a new step :)

17:08:43 kasey@iUnibody-2:~/pinguino cat source/stdout
#----------------------------------------------------------------------------
# clean
#----------------------------------------------------------------------------
rm -f -v /Users/kasey/pinguino/source/main32.o
rm -f -v /Users/kasey/pinguino/source/main32.elf
« /Users/kasey/pinguino/source/main32.elf » supprimé
rm -f -v /Users/kasey/pinguino/source/main32.hex
rm -f -v /Users/kasey/pinguino/p32/obj/non-free/processor.o
« /Users/kasey/pinguino/p32/obj/non-free/processor.o » supprimé
#----------------------------------------------------------------------------
# copy
#----------------------------------------------------------------------------
cp /Users/kasey/pinguino/p32/obj/non-free/32MX440F256H.o /Users/kasey/
pinguino/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# compile and link
#----------------------------------------------------------------------------
/Users/kasey/pinguino/macosx/p32/bin/mips-elf-gcc -EL -O3 -ffunction-
sections -fdata-sections -Wl,--gc-sections -march=24kc -msoft-float -
Wl,--defsym,_min_heap_size=16384 -Wl,-Map=/Users/kasey/pinguino/source/
output.map -Wl,-L/Users/kasey/pinguino/p32/obj/non-free/ -D
__PIC32MX__ -D __32MX440F256H__ -D PIC32_PINGUINO_OTG -T/Users/kasey/
pinguino/p32/lkr/PIC32_PINGUINO_OTG/procdefs.ld -T/Users/kasey/
pinguino/p32/lkr/PIC32_PINGUINO_OTG/elf32pic32mx.x -L/Users/kasey/
pinguino/p32/obj/non-free/usb -lm -lgcc -lc -fdollars-in-identifiers -
I/Users/kasey/pinguino/p32/include/non-free -I/Users/kasey/pinguino/
p32/include/pinguino/core -I/Users/kasey/pinguino/p32/include/pinguino/
libraries -I/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO_OTG -I/Users/
kasey/pinguino/examples/01.Basics/Fade -I/Users/kasey/pinguino/p32/obj/
non-free -o /Users/kasey/pinguino/source/main32.elf /Users/kasey/
pinguino/source/main32.c\
/Users/kasey/pinguino/p32/obj/non-free/crt0.S\
/Users/kasey/pinguino/p32/obj/non-free/processor.o\
/Users/kasey/pinguino/p32/obj/non-free/usb/libcdc.a\
/Users/kasey/pinguino/p32/obj/non-free/usb/libadb.a\
/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO_OTG/ISRwrapper.S\
/Users/kasey/pinguino/p32/include/non-free/p32xxxx.h\
-lm -lgcc -lc
In file included from /Users/kasey/pinguino/source/main32.c:32:0:
/Users/kasey/pinguino/p32/include/pinguino/core/newlib.c:90:28:
warning: 'struct stat' declared inside parameter list [enabled by
default]
/Users/kasey/pinguino/p32/include/pinguino/core/newlib.c:90:28:
warning: its scope is only this definition or declaration, which is
probably not what you want [enabled by default]
mips-elf-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so
not found
compilation terminated.

jp mandon

unread,
May 20, 2012, 1:14:51 PM5/20/12
to pingui...@googlegroups.com
Hi Lucas

Thanks for this info.......

Release 440 should solve the problem.

svn update :-)

JP

2012/5/20 Lucas Fernandez <lfern...@bearstech.com>
I use Mac os 10.6.8

Lucas Fernandez

unread,
May 20, 2012, 1:25:00 PM5/20/12
to Pinguino
Thank you for your efforts Jp, but i have a new bug :-/

19:22:21 kasey@iUnibody-2:~/pinguino cat source/stdout
#----------------------------------------------------------------------------
# clean
#----------------------------------------------------------------------------
rm -f -v /Users/kasey/pinguino/source/main32.o
rm -f -v /Users/kasey/pinguino/source/main32.elf
rm -f -v /Users/kasey/pinguino/source/main32.hex
rm -f -v /Users/kasey/pinguino/p32/obj/non-free/processor.o
« /Users/kasey/pinguino/p32/obj/non-free/processor.o » supprimé
#----------------------------------------------------------------------------
# copy
#----------------------------------------------------------------------------
cp /Users/kasey/pinguino/p32/obj/non-free/32MX440F256H.o /Users/kasey/
pinguino/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# compile and link
#----------------------------------------------------------------------------
/Users/kasey/pinguino/macosx/p32/bin/mips-elf-gcc -EL -O3 -ffunction-
sections -fdata-sections -Wl,--gc-sections -march=24kc -msoft-float -
Wl,--defsym,_min_heap_size=16384 -Wl,-Map=/Users/kasey/pinguino/source/
output.map -Wl,-L/Users/kasey/pinguino/p32/obj/non-free/ -D
__PIC32MX__ -D __32MX440F256H__ -D PIC32_PINGUINO -T/Users/kasey/
pinguino/p32/lkr/PIC32_PINGUINO/procdefs.ld -T/Users/kasey/pinguino/
p32/lkr/PIC32_PINGUINO/elf32pic32mx.x -L/Users/kasey/pinguino/p32/obj/
non-free/usb -lm -lgcc -lc -fdollars-in-identifiers -I/Users/kasey/
pinguino/p32/include/non-free -I/Users/kasey/pinguino/p32/include/
pinguino/core -I/Users/kasey/pinguino/p32/include/pinguino/libraries -
I/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO -I/Users/kasey/pinguino/
examples/01.Basics/Blink -I/Users/kasey/pinguino/p32/obj/non-free -o /
Users/kasey/pinguino/source/main32.elf /Users/kasey/pinguino/source/
main32.c\
/Users/kasey/pinguino/p32/obj/non-free/crt0.S\
/Users/kasey/pinguino/p32/obj/non-free/processor.o\
/Users/kasey/pinguino/p32/obj/non-free/usb/libcdc.a\
/Users/kasey/pinguino/p32/obj/non-free/usb/libadb.a\
/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO/ISRwrapper.S\
/Users/kasey/pinguino/p32/include/non-free/p32xxxx.h\
-lm -lgcc -lc
In file included from /Users/kasey/pinguino/source/main32.c:32:0:
/Users/kasey/pinguino/p32/include/pinguino/core/newlib.c:90:28:
warning: 'struct stat' declared inside parameter list [enabled by
default]
/Users/kasey/pinguino/p32/include/pinguino/core/newlib.c:90:28:
warning: its scope is only this definition or declaration, which is
probably not what you want [enabled by default]
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find crti.o: No such file or
directory
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find crtbegin.o: No such
file or directory
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find -lm
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find -lgcc
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find -lc
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find -lm
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find -lgcc
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find -lc
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find -lgcc
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find -lgcc
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find crtend.o: No such file
or directory
/Users/kasey/pinguino/macosx/p32/bin/../lib/gcc/mips-elf/
4.6.2/../../../../mips-elf/bin/ld: cannot find crtn.o: No such file or
directory
collect2: ld returned 1 exit status

Juan Fabian

unread,
May 20, 2012, 2:10:55 PM5/20/12
to pingui...@googlegroups.com
Hi guys,

it seems it's on the right track. I think i have the same error as Lucas.

fabi@dulcinea:~/prj/Pinguino/x.3$ cat source/stdout
#----------------------------------------------------------------------------
# clean
#----------------------------------------------------------------------------
rm -f -v /Users/fabi/prj/Pinguino/x.3/source/main32.o
rm -f -v /Users/fabi/prj/Pinguino/x.3/source/main32.elf
rm -f -v /Users/fabi/prj/Pinguino/x.3/source/main32.hex
rm -f -v /Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/processor.o
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# copy
#----------------------------------------------------------------------------
cp /Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/32MX460F512L.o
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# compile and link
#----------------------------------------------------------------------------
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/mips-elf-gcc -EL -O3
-ffunction-sections -fdata-sections -Wl,--gc-sections -march=24kc
-msoft-float -Wl,--defsym,_min_heap_size=16384
-Wl,-Map=/Users/fabi/prj/Pinguino/x.3/source/output.map
-Wl,-L/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/ -D __PIC32MX__ -D
__32MX460F512L__ -D UBW32_460
-T/Users/fabi/prj/Pinguino/x.3/p32/lkr/UBW32_460/procdefs.ld
-T/Users/fabi/prj/Pinguino/x.3/p32/lkr/UBW32_460/elf32pic32mx.x
-L/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/usb -lm -lgcc -lc
-fdollars-in-identifiers
-I/Users/fabi/prj/Pinguino/x.3/p32/include/non-free
-I/Users/fabi/prj/Pinguino/x.3/p32/include/pinguino/core
-I/Users/fabi/prj/Pinguino/x.3/p32/include/pinguino/libraries
-I/Users/fabi/prj/Pinguino/x.3/p32/lkr/UBW32_460
-I/Users/fabi/prj/Pinguino/x.3/examples/01.Basics/Blink
-I/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free -o
/Users/fabi/prj/Pinguino/x.3/source/main32.elf
/Users/fabi/prj/Pinguino/x.3/source/main32.c\
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/crt0.S\
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/processor.o\
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/usb/libcdc.a\
/Users/fabi/prj/Pinguino/x.3/p32/obj/non-free/usb/libadb.a\
/Users/fabi/prj/Pinguino/x.3/p32/lkr/UBW32_460/ISRwrapper.S\
/Users/fabi/prj/Pinguino/x.3/p32/include/non-free/p32xxxx.h\
-lm -lgcc -lc
In file included from /Users/fabi/prj/Pinguino/x.3/source/main32.c:32:0:
/Users/fabi/prj/Pinguino/x.3/p32/include/pinguino/core/newlib.c:90:28:
warning: 'struct stat' declared inside parameter list [enabled by
default]
/Users/fabi/prj/Pinguino/x.3/p32/include/pinguino/core/newlib.c:90:28:
warning: its scope is only this definition or declaration, which is
probably not what you want [enabled by default]
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find crti.o: No such file or directory
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find crtbegin.o: No such file or directory
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find -lm
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find -lgcc
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find -lc
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find -lm
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find -lgcc
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find -lc
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find -lgcc
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find -lgcc
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find crtend.o: No such file or directory
/Users/fabi/prj/Pinguino/x.3/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld:
cannot find crtn.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [link] Error 1

I'm tweaking a bit the Makefile.macos, but still no luck.

Let's win macos :)

fabi

jp mandon

unread,
May 20, 2012, 2:18:28 PM5/20/12
to pingui...@googlegroups.com
Hi Guys

Release 441 should be OK ( as usual :-)
I don't know why my SVN software missing all the libraries.
This is a big update ( 50 Mo ).
I hope it's the last.

Thanks for your help
Jean-Pierre

2012/5/20 Juan Fabian <juan....@gmail.com>

Lucas Fernandez

unread,
May 20, 2012, 2:29:20 PM5/20/12
to Pinguino
Congratulation :) I have successfully made somes builds :)

20:23:02 kasey@iUnibody-2:~/pinguino cat source/stdout
#----------------------------------------------------------------------------
# clean
#----------------------------------------------------------------------------
rm -f -v /Users/kasey/pinguino/source/main32.o
rm -f -v /Users/kasey/pinguino/source/main32.elf
« /Users/kasey/pinguino/source/main32.elf » supprimé
rm -f -v /Users/kasey/pinguino/source/main32.hex
rm -f -v /Users/kasey/pinguino/p32/obj/non-free/processor.o
« /Users/kasey/pinguino/p32/obj/non-free/processor.o » supprimé
#----------------------------------------------------------------------------
# copy
#----------------------------------------------------------------------------
cp /Users/kasey/pinguino/p32/obj/non-free/32MX440F256H.o /Users/kasey/
pinguino/p32/obj/non-free/processor.o
#----------------------------------------------------------------------------
# compile and link
#----------------------------------------------------------------------------
/Users/kasey/pinguino/macosx/p32/bin/mips-elf-gcc -EL -O3 -ffunction-
sections -fdata-sections -Wl,--gc-sections -march=24kc -msoft-float -
Wl,--defsym,_min_heap_size=16384 -Wl,-Map=/Users/kasey/pinguino/source/
output.map -Wl,-L/Users/kasey/pinguino/p32/obj/non-free/ -D
__PIC32MX__ -D __32MX440F256H__ -D PIC32_PINGUINO -T/Users/kasey/
pinguino/p32/lkr/PIC32_PINGUINO/procdefs.ld -T/Users/kasey/pinguino/
p32/lkr/PIC32_PINGUINO/elf32pic32mx.x -L/Users/kasey/pinguino/p32/obj/
non-free/usb -lm -lgcc -lc -fdollars-in-identifiers -I/Users/kasey/
pinguino/p32/include/non-free -I/Users/kasey/pinguino/p32/include/
pinguino/core -I/Users/kasey/pinguino/p32/include/pinguino/libraries -
I/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO -I/Users/kasey/pinguino/
examples/04.Communication/ASCIITable -I/Users/kasey/pinguino/p32/obj/
non-free -o /Users/kasey/pinguino/source/main32.elf /Users/kasey/
pinguino/source/main32.c\
/Users/kasey/pinguino/p32/obj/non-free/crt0.S\
/Users/kasey/pinguino/p32/obj/non-free/processor.o\
/Users/kasey/pinguino/p32/obj/non-free/usb/libcdc.a\
/Users/kasey/pinguino/p32/obj/non-free/usb/libadb.a\
/Users/kasey/pinguino/p32/lkr/PIC32_PINGUINO/ISRwrapper.S\
/Users/kasey/pinguino/p32/include/non-free/p32xxxx.h\
-lm -lgcc -lc
In file included from /Users/kasey/pinguino/source/main32.c:32:0:
/Users/kasey/pinguino/p32/include/pinguino/core/newlib.c:90:28:
warning: 'struct stat' declared inside parameter list [enabled by
default]
/Users/kasey/pinguino/p32/include/pinguino/core/newlib.c:90:28:
warning: its scope is only this definition or declaration, which is
probably not what you want [enabled by default]
In file included from /Users/kasey/pinguino/source/main32.c:36:0:
/Users/kasey/pinguino/source/user.c: In function 'loop':
/Users/kasey/pinguino/source/user.c:21:3: warning: passing argument 1
of 'serial1print' makes pointer from integer without a cast [enabled
by default]
/Users/kasey/pinguino/p32/include/pinguino/core/pinguinoserial1.c:
62:6: note: expected 'char *' but argument is of type 'int'
/Users/kasey/pinguino/source/user.c:27:3: warning: passing argument 1
of 'serial1print' makes pointer from integer without a cast [enabled
by default]
/Users/kasey/pinguino/p32/include/pinguino/core/pinguinoserial1.c:
62:6: note: expected 'char *' but argument is of type 'int'
/Users/kasey/pinguino/source/user.c:36:3: warning: passing argument 1
of 'serial1print' makes pointer from integer without a cast [enabled
by default]
/Users/kasey/pinguino/p32/include/pinguino/core/pinguinoserial1.c:
62:6: note: expected 'char *' but argument is of type 'int'
/Users/kasey/pinguino/source/user.c:40:3: warning: passing argument 1
of 'serial1print' makes pointer from integer without a cast [enabled
by default]
/Users/kasey/pinguino/p32/include/pinguino/core/pinguinoserial1.c:
62:6: note: expected 'char *' but argument is of type 'int'
/Users/kasey/pinguino/source/user.c:45:3: warning: passing argument 1
of 'serial1println' makes pointer from integer without a cast [enabled
by default]
/Users/kasey/pinguino/p32/include/pinguino/core/pinguinoserial1.c:
96:6: note: expected 'char *' but argument is of type 'int'
#----------------------------------------------------------------------------
# exec
#----------------------------------------------------------------------------
/Users/kasey/pinguino/macosx/p32/bin/avr-objcopy -O ihex /Users/kasey/
pinguino/source/main32.elf /Users/kasey/pinguino/source/main32.hex
#----------------------------------------------------------------------------
# correct
#----------------------------------------------------------------------------
grep --binary --invert-match '^:040000059D006000FA' /Users/kasey/
pinguino/source/main32.hex > /Users/kasey/pinguino/source/temp.hex
mv /Users/kasey/pinguino/source/temp.hex /Users/kasey/pinguino/source/
main32.hex

Thank you very much JP

Juan Fabian

unread,
May 20, 2012, 3:28:12 PM5/20/12
to pingui...@googlegroups.com
It works! Thank you so much JP :) Now i'm going to test the usbw32

2012/5/20 Lucas Fernandez <lfern...@bearstech.com>:

Lucas Fernandez

unread,
May 20, 2012, 3:03:48 PM5/20/12
to Pinguino
Juste a last fix for the mac os version. I have found a bug, the path
for the tool to flash the pinguino was wrong.

Line 744 in wxgui/pinguino.py :

sortie=Popen([os.path.join(HOME_DIR, self.osdir, 'p32', 'bin',
self.u32),
"-w",
filename+".hex",
"-r",
"-n"],
stdout=fichier, stderr=STDOUT)

This will generate the following wrong path : ~/pinguino/macosx/p32/
bin/ubw32 The mac os flasher was mphidflash (i have successfully use
it :)

20:54:06 kasey@iUnibody-2:~/pinguino/macosx/p32/bin ./mphidflash -w /
Users/kasey/pinguino/examples/01.Basics/Blink/Blink.hex -r -n
USB HID device found: 241664 bytes free
Erasing...
Writing hex file '/Users/kasey/pinguino/examples/01.Basics/Blink/
Blink.hex':.........................................................................................................................
Resetting device...


I can't commit a patch, so could you do it for me ? Thank you.

Lucas Fernandez

unread,
May 20, 2012, 3:31:02 PM5/20/12
to Pinguino
It's works but you must change one line in wxgui/pinguino.py line 409,
change 'ubw32' to 'mphidflash'.

jp mandon

unread,
May 20, 2012, 4:56:06 PM5/20/12
to pingui...@googlegroups.com
Updated SVN revision is 442 !!
Changed the name of the MACOSX Uploader ( Thanks Lucas )
I am going to package a MACOSX X.3 for google code area tommrow.

Thanks guys for your patience !!

We won the MacOSX war together.......

Have fun with Pinguino OSX !!
JP

Le 20 mai 2012 21:31, Lucas Fernandez <lfern...@bearstech.com> a écrit :
It's works but you must change one line in wxgui/pinguino.py line 409,
change 'ubw32' to 'mphidflash'.

Juan Fabian

unread,
May 22, 2012, 5:48:08 AM5/22/12
to pingui...@googlegroups.com
Hi guys,

i've prepared a quick document with all the steps i took to have the
pinguino ready on 10.7 lion. Maybe i took some step that can be done
different, but this worked for me.

The only thing i don't have right now is subversion working (pysvn is
not found by Pinguino), but it's not bad for me.

Thank you guys!

fabi

2012/5/20 jp mandon <jp.m...@gmail.com>:
Pinguino on Macos X 10.7 Lion.txt

Lucas Fernandez

unread,
May 22, 2012, 7:14:28 AM5/22/12
to Pinguino
I have fixed pysvn by :

1. download pysvn-1.7.6.tar.gz from http://pysvn.tigris.org/project_downloads.html
2. untar pysvn-1.7.6.tar.gz, open a terminal and go into the folder
pysvn-1.7.6/Source
3. run "python setup.py configure" to configure and "make" to make the
lib
4. copy the new folder called "pysvn" at the root of the folder
pinguino

That's all. The script pinguino.py will find the lib on the root
directory. I know, it's a litle bit dirty, but until the bug was fixed
in port, it's just work.

Juan Fabian

unread,
May 22, 2012, 10:15:45 AM5/22/12
to pingui...@googlegroups.com
Thanks Lucas!

i wonder how could we automate all the steps needed to have the
Pinguino working... it seems a little overkill compared to other
setups.

2012/5/22 Lucas Fernandez <lfern...@bearstech.com>:
Reply all
Reply to author
Forward
0 new messages